Package

wvlet.airframe

lifecycle

Permalink

package lifecycle

Visibility
  1. Public
  2. All

Type Members

  1. case class EventHookHolder[A](injectee: Injectee, hook: (A) ⇒ Any) extends LifeCycleHook with LogSupport with Product with Serializable

    Permalink
  2. class Injectee extends AnyRef

    Permalink
  3. trait LifeCycleEventHandler extends AnyRef

    Permalink

  4. class LifeCycleEventHandlerChain extends LifeCycleEventHandler

    Permalink
  5. class LifeCycleEventHandlerPair extends LifeCycleEventHandler

    Permalink
  6. trait LifeCycleHook extends AnyRef

    Permalink
  7. sealed trait LifeCycleHookType extends AnyRef

    Permalink
  8. class LifeCycleManager extends LogSupport

    Permalink

    LifeCycleManager manages the life cycle of objects within a Session

  9. sealed trait LifeCycleStage extends AnyRef

    Permalink
  10. class MethodCallHook extends LifeCycleHook

    Permalink

Value Members

  1. object AddShutdownHook extends LifeCycleEventHandler

    Permalink

  2. object BEFORE_SHUTDOWN extends LifeCycleHookType with Product with Serializable

    Permalink
  3. object CloseableLifeCycleHookFinder extends LifeCycleEventHandler with LogSupport

    Permalink

    If an injected class implements close() (in AutoCloseable interface), add a shutdown hook to call close() if there is no other shutdown hooks

  4. object EventHookHolder extends Serializable

    Permalink
  5. object FILOLifeCycleHookExecutor extends LifeCycleEventHandler with LogSupport

    Permalink

    First In, Last Out (FILO) hook executor.

    First In, Last Out (FILO) hook executor.

    If objects are injected in A -> B -> C order, the init and shutdown orders will be as follows: init hook call order: A -> B -> C shutdown hook call order: C -> B -> A

  6. object INIT extends LifeCycleStage with Product with Serializable

    Permalink
  7. object JSR250LifeCycleExecutor extends LifeCycleEventHandler with LogSupport

    Permalink

    Support @PreDestroy and @PostConstruct

  8. object LifeCycleManager extends Serializable

    Permalink
  9. object NilLifeCycleEventHandler extends LifeCycleEventHandler

    Permalink
  10. object ON_INIT extends LifeCycleHookType with Product with Serializable

    Permalink
  11. object ON_INJECT extends LifeCycleHookType with Product with Serializable

    Permalink
  12. object ON_SHUTDOWN extends LifeCycleHookType with Product with Serializable

    Permalink
  13. object ON_START extends LifeCycleHookType with Product with Serializable

    Permalink
  14. object STARTED extends LifeCycleStage with Product with Serializable

    Permalink
  15. object STARTING extends LifeCycleStage with Product with Serializable

    Permalink
  16. object STOPPED extends LifeCycleStage with Product with Serializable

    Permalink
  17. object STOPPING extends LifeCycleStage with Product with Serializable

    Permalink
  18. object ShowDebugLifeCycleLog extends LifeCycleEventHandler

    Permalink
  19. object ShowLifeCycleLog extends LifeCycleEventHandler

    Permalink

Ungrouped