wvlet.airframe.lifecycle
package wvlet.airframe.lifecycle
Type members
Classlikes
case class EventHookHolder[A](injectee: Injectee, hook: A => Any) extends LifeCycleHook with LogSupport
- Companion:
- object
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
Support @PreDestroy and @PostConstruct
Support @PreDestroy and @PostConstruct
class LifeCycleEventHandlerChain(prev: LifeCycleEventHandler, next: LifeCycleEventHandler) extends LifeCycleEventHandler
class LifeCycleEventHandlerPair(parent: LifeCycleEventHandler, child: LifeCycleEventHandler) extends LifeCycleEventHandler
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
- Companion:
- object