wvlet.airframe.lifecycle
package wvlet.airframe.lifecycle
Members list
Type members
Classlikes
case object AFTER_START extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
AFTER_START.type
object AddShutdownHook extends LifeCycleEventHandler
Attributes
- Supertypes
- Self type
-
AddShutdownHook.type
case object BEFORE_SHUTDOWN extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
BEFORE_SHUTDOWN.type
class CloseHook(val injectee: Injectee) extends LifeCycleHook
Attributes
- Supertypes
object EventHookHolder
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EventHookHolder.type
case class EventHookHolder[A](injectee: Injectee, hook: A => Any) extends LifeCycleHook, LogSupport
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LifeCycleHookclass Objecttrait Matchableclass AnyShow all
object FILOLifeCycleHookExecutor extends LifeCycleEventHandler, LogSupport
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
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LifeCycleEventHandlerclass Objecttrait Matchableclass AnyShow all
- Self type
case object INIT extends LifeCycleStage
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass AnyShow all
- Self type
-
INIT.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
object JSR250LifeCycleExecutor extends LifeCycleEventHandler, LogSupport
Support @PreDestroy and @PostConstruct
Support @PreDestroy and @PostConstruct
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LifeCycleEventHandlerclass Objecttrait Matchableclass AnyShow all
- Self type
trait LifeCycleEventHandler
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AddShutdownHook.typeobject FILOLifeCycleHookExecutor.typeobject JSR250LifeCycleExecutor.typeobject NilLifeCycleEventHandler.typeobject ShowDebugLifeCycleLog.typeobject ShowLifeCycleLog.typeShow all
class LifeCycleEventHandlerChain(prev: LifeCycleEventHandler, next: LifeCycleEventHandler) extends LifeCycleEventHandler
Attributes
- Supertypes
class LifeCycleEventHandlerPair(parent: LifeCycleEventHandler, child: LifeCycleEventHandler) extends LifeCycleEventHandler
Attributes
- Supertypes
trait LifeCycleHook
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- 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.typeShow all
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
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
object LifeCycleManager
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LifeCycleManager.type
class MethodCallHook(val injectee: Injectee, method: Method) extends LifeCycleHook
Attributes
- Supertypes
object NilLifeCycleEventHandler extends LifeCycleEventHandler
Attributes
- Supertypes
- Self type
case object ON_INIT extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ON_INIT.type
case object ON_INJECT extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ON_INJECT.type
case object ON_SHUTDOWN extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ON_SHUTDOWN.type
case object ON_START extends LifeCycleHookType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleHookTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ON_START.type
case object STARTED extends LifeCycleStage
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass AnyShow all
- Self type
-
STARTED.type
case object STARTING extends LifeCycleStage
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass AnyShow all
- Self type
-
STARTING.type
case object STOPPED extends LifeCycleStage
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass AnyShow all
- Self type
-
STOPPED.type
case object STOPPING extends LifeCycleStage
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LifeCycleStageclass Objecttrait Matchableclass AnyShow all
- Self type
-
STOPPING.type
object ShowDebugLifeCycleLog extends LifeCycleEventHandler
Attributes
- Supertypes
- Self type
object ShowLifeCycleLog extends LifeCycleEventHandler
Attributes
- Supertypes
- Self type
-
ShowLifeCycleLog.type
In this article