public static enum LifecycleCallbackDescriptor.CallbackType extends Enum<LifecycleCallbackDescriptor.CallbackType>
| Enum Constant and Description |
|---|
AROUND_CONSTRUCT |
POST_ACTIVATE |
POST_CONSTRUCT |
PRE_DESTROY |
PRE_PASSIVATE |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleCallbackDescriptor.CallbackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleCallbackDescriptor.CallbackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleCallbackDescriptor.CallbackType AROUND_CONSTRUCT
public static final LifecycleCallbackDescriptor.CallbackType POST_CONSTRUCT
public static final LifecycleCallbackDescriptor.CallbackType PRE_DESTROY
public static final LifecycleCallbackDescriptor.CallbackType PRE_PASSIVATE
public static final LifecycleCallbackDescriptor.CallbackType POST_ACTIVATE
public static LifecycleCallbackDescriptor.CallbackType[] values()
for (LifecycleCallbackDescriptor.CallbackType c : LifecycleCallbackDescriptor.CallbackType.values()) System.out.println(c);
public static LifecycleCallbackDescriptor.CallbackType 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 © 2019. All rights reserved.