public enum ActivationPolicy extends Enum<ActivationPolicy>
Enum Constant and Description |
---|
COMPONENT_RESTART
Changes are applied to metadata and require a component restart
|
DEPLOYMENT_RESTART
Changes are applied to metadata and require a deployment restart
|
IMMEDIATE
Changes are immediately applied to metadata and runtime components
|
SERVER_RESTART
Changes are applied to metadata and require a server restart
|
Modifier and Type | Method and Description |
---|---|
static ActivationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivationPolicy IMMEDIATE
public static final ActivationPolicy COMPONENT_RESTART
public static final ActivationPolicy DEPLOYMENT_RESTART
public static final ActivationPolicy SERVER_RESTART
public static ActivationPolicy[] values()
for (ActivationPolicy c : ActivationPolicy.values()) System.out.println(c);
public static ActivationPolicy 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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.