public enum RegistrationPolicy extends Enum<RegistrationPolicy>
| Enum Constant and Description | 
|---|
FAIL_ON_EXISTING
Registration should fail when attempting to register an MBean under a name that
 already exists. 
 | 
IGNORE_EXISTING
Registration should ignore the affected MBean when attempting to register an MBean
 under a name that already exists. 
 | 
REPLACE_EXISTING
Registration should replace the affected MBean when attempting to register an MBean
 under a name that already exists. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RegistrationPolicy | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RegistrationPolicy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RegistrationPolicy FAIL_ON_EXISTING
public static final RegistrationPolicy IGNORE_EXISTING
public static final RegistrationPolicy REPLACE_EXISTING
public static RegistrationPolicy[] values()
for (RegistrationPolicy c : RegistrationPolicy.values()) System.out.println(c);
public static RegistrationPolicy 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 null