wvlet.airframe.lifecycle
package wvlet.airframe.lifecycle
Members list
Concise view
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- AFTER_START.type
Attributes
- Graph
- Supertypes
- Self type
- AddShutdownHook.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- BEFORE_SHUTDOWN.type
Attributes
- Graph
- Supertypes
object EventHookHolder
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- EventHookHolder.type
case class EventHookHolder[A](injectee: Injectee, hook: A => Any) extends LifeCycleHook with LogSupport
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LifeCycleHookclass Objecttrait Matchableclass Any
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
Attributes
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LifeCycleEventHandlerclass Objecttrait Matchableclass Any
- Self type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass Any
- Self type
- INIT.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- Self type
trait LifeCycleEventHandler
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object AddShutdownHook.typeobject FILOLifeCycleHookExecutor.typeobject JSR250LifeCycleExecutor.typeobject NilLifeCycleEventHandler.typeobject ShowDebugLifeCycleLog.typeobject ShowLifeCycleLog.type
class LifeCycleEventHandlerChain(prev: LifeCycleEventHandler, next: LifeCycleEventHandler) extends LifeCycleEventHandler
Attributes
- Graph
- Supertypes
class LifeCycleEventHandlerPair(parent: LifeCycleEventHandler, child: LifeCycleEventHandler) extends LifeCycleEventHandler
Attributes
- Graph
- Supertypes
trait LifeCycleHook
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class CloseHookclass EventHookHolder[A]
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object AFTER_START.typeobject BEFORE_SHUTDOWN.typeobject ON_INIT.typeobject ON_INJECT.typeobject ON_SHUTDOWN.typeobject ON_START.type
class LifeCycleManager(val eventHandler: LifeCycleEventHandler, val coreEventHandler: LifeCycleEventHandler) extends LogSupport
LifeCycleManager manages the life cycle of objects within a Session
LifeCycleManager manages the life cycle of objects within a Session
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
object LifeCycleManager
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- LifeCycleManager.type
Attributes
- Graph
- Supertypes
- Self type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- ON_INIT.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- ON_INJECT.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- ON_SHUTDOWN.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass Any
- Self type
- ON_START.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass Any
- Self type
- STARTED.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass Any
- Self type
- STARTING.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass Any
- Self type
- STOPPED.type
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass Any
- Self type
- STOPPING.type
Attributes
- Graph
- Supertypes
- Self type
Attributes
- Graph
- Supertypes
- Self type
- ShowLifeCycleLog.type