Class

com.github.vonnagy.service.container.service

ContainerService

Related Doc: package service

Permalink

class ContainerService extends CoreConfig with SystemShutdown with LoggingAdapter

This is the main class for the container. It takes several parameters to be used in its construction.

Linear Supertypes
LoggingAdapter, SLF4JLogging, SystemShutdown, CoreConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContainerService
  2. LoggingAdapter
  3. SLF4JLogging
  4. SystemShutdown
  5. CoreConfig
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContainerService(routeEndpoints: Seq[Class[_ <: RoutedEndpoints]] = Nil, healthChecks: Seq[HealthCheck] = Nil, props: Seq[(String, Props)] = Nil, config: Option[Config] = None)

    Permalink

    routeEndpoints

    a list of route classes to manage

    healthChecks

    a list of health checks to register in the system

    props

    a lost of actor props to create when starting the container

    config

    an optional configuration to use. It will tak precedence over those pass from the command line or from the default.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getConfig(config: Option[Config]): Config

    Permalink

    Use this method to build up the configuration to use with this system

    Use this method to build up the configuration to use with this system

    Definition Classes
    CoreConfig
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. lazy val log: Logger

    Permalink
    Definition Classes
    SLF4JLogging
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def registeredHealthChecks(): Seq[HealthCheck]

    Permalink

    Get the system's registered health checks

    Get the system's registered health checks

    returns

    a list of HealthCheck

  18. def registeredRoutes(): Seq[Class[_ <: RoutedEndpoints]]

    Permalink

    Get the system's registered endpoint handlers

    Get the system's registered endpoint handlers

    returns

    a list of RoutedEndpoints

  19. def shutdown(): Unit

    Permalink

    This will shutdown the system and wait until it has completed the shutdown process.

  20. def start(): Unit

    Permalink

    Start the service which will start the build-in Http service and instantiate all of the desired Actors, etc...

  21. var started: Boolean

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. lazy val system: ActorSystem

    Permalink
    Definition Classes
    ContainerServiceSystemShutdown
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from SystemShutdown

Inherited from CoreConfig

Inherited from AnyRef

Inherited from Any

Ungrouped