wvlet.airframe.lifecycle

Members list

Type members

Classlikes

case object AFTER_START extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case object BEFORE_SHUTDOWN extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
class CloseHook(val injectee: Injectee) extends LifeCycleHook

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class EventHookHolder[A](injectee: Injectee, hook: A => Any) extends LifeCycleHook, LogSupport

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all

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 LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
case object INIT extends LifeCycleStage

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
INIT.type
class Injectee(val surface: Surface, val injectee: Any)

Attributes

Supertypes
class Object
trait Matchable
class Any
object JSR250LifeCycleExecutor extends LifeCycleEventHandler, LogSupport

Support @PreDestroy and @PostConstruct

Support @PreDestroy and @PostConstruct

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait LifeCycleHookType

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AFTER_START.type
object BEFORE_SHUTDOWN.type
object ON_INIT.type
object ON_INJECT.type
object ON_SHUTDOWN.type
object ON_START.type
Show 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 LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait LifeCycleStage

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object INIT.type
object STARTED.type
object STARTING.type
object STOPPED.type
object STOPPING.type
class MethodCallHook(val injectee: Injectee, method: Method) extends LifeCycleHook

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case object ON_INIT extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ON_INIT.type
case object ON_INJECT extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ON_INJECT.type
case object ON_SHUTDOWN extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object ON_START extends LifeCycleHookType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ON_START.type
case object STARTED extends LifeCycleStage

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
STARTED.type
case object STARTING extends LifeCycleStage

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
STARTING.type
case object STOPPED extends LifeCycleStage

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
STOPPED.type
case object STOPPING extends LifeCycleStage

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
STOPPING.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type