com.github.vonnagy.service.container.service

ContainerService

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.

Attributes
protected
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

    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

    config
    returns

    Definition Classes
    CoreConfig
  13. def hashCode(): Int

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

    Definition Classes
    Any
  15. lazy val log: Logger

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

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def registeredHealthChecks: Seq[HealthCheck]

    Get the system's registered health checks

    Get the system's registered health checks

    returns

    a list of HealthCheck

  20. def registeredRoutes: Seq[Class[_ <: RoutedEndpoints]]

    Get the system's registered endpoint handlers

    Get the system's registered endpoint handlers

    returns

    a list of RoutedEndpoints

  21. def shutdown: Unit

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

  22. def start: Unit

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

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

  23. var started: Boolean

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

    Definition Classes
    AnyRef
  25. lazy val system: ActorSystem

    Definition Classes
    ContainerServiceSystemShutdown
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from SystemShutdown

Inherited from CoreConfig

Inherited from AnyRef

Inherited from Any

Ungrouped