public enum InstanceLifecycleEventType extends Enum<InstanceLifecycleEventType>
Enum Constant and Description |
---|
POST_PRODUCTION
This lifecycle event is called after an object has been
created
|
PRE_DESTRUCTION
This lifecycle event is called prior to an object being
destroyed
|
PRE_PRODUCTION
This lifecycle event is called before an object will be
created
|
Modifier and Type | Method and Description |
---|---|
static InstanceLifecycleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceLifecycleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceLifecycleEventType PRE_PRODUCTION
public static final InstanceLifecycleEventType POST_PRODUCTION
public static final InstanceLifecycleEventType PRE_DESTRUCTION
public static InstanceLifecycleEventType[] values()
for (InstanceLifecycleEventType c : InstanceLifecycleEventType.values()) System.out.println(c);
public static InstanceLifecycleEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2019 Oracle Corporation. All rights reserved.