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
SystemShutdown, LoggingAdapter, SLF4JLogging, CoreConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContainerService
  2. SystemShutdown
  3. LoggingAdapter
  4. SLF4JLogging
  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, listeners: Seq[ContainerLifecycleListener] = Nil, name: String)(implicit system: ActorSystem)

    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

    name

    The name of this container service

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. val listeners: Seq[ContainerLifecycleListener]

    Permalink
  14. lazy val log: Logger

    Permalink
    Definition Classes
    SLF4JLogging
  15. val name: String

    Permalink

    The name of this container service

  16. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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]]

    Permalink

    Get the system's registered endpoint handlers

    Get the system's registered endpoint handlers

    returns

    a list of RoutedEndpoints

  21. lazy val servicesParent: ActorRef

    Permalink
  22. def shutdown(): Unit

    Permalink

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

  23. var shutdownHook: Option[ShutdownHookThread]

    Permalink

    Ensure that the constructed ActorSystem is shut down when the JVM shuts down

    Ensure that the constructed ActorSystem is shut down when the JVM shuts down

    Definition Classes
    SystemShutdown
  24. def start(): Unit

    Permalink

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

  25. var started: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  27. implicit val system: ActorSystem

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

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

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

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

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

Inherited from SystemShutdown

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from CoreConfig

Inherited from AnyRef

Inherited from Any

Ungrouped