Enum Class LifecycleEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<LifecycleEvent.Type>
,Constable
- Enclosing interface:
LifecycleEvent
The
LifecycleEvent
types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
has been activated.ThisLifecycleEvent
is dispatched prior to the activation of aConfigurableCacheFactory
.ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
is about to be disposed. -
Method Summary
Modifier and TypeMethodDescriptionstatic LifecycleEvent.Type
Returns the enum constant of this class with the specified name.static LifecycleEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVATING
ThisLifecycleEvent
is dispatched prior to the activation of aConfigurableCacheFactory
. This typically suggests that anyautostart
services have not been started, however will be after this event is emitted. SeeConfigurableCacheFactory.activate()
for more details. -
ACTIVATED
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
has been activated. This typically means that allautostart
services have been started. SeeConfigurableCacheFactory.activate()
) for more details. -
DISPOSING
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
is about to be disposed. After interceptors are notified of this event typically the ConfigurableCacheFactory will shut down all of it's services and clean up it's resources.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-