public static enum AbstractRegistry.InstantiationMode extends java.lang.Enum<AbstractRegistry.InstantiationMode>
| Enum Constant and Description |
|---|
MULTIPLE
Multiple instantiation.
|
OFF
No instantiation by the registry but by external components.
|
SINGLETON
Singleton mode.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractRegistry.InstantiationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRegistry.InstantiationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractRegistry.InstantiationMode SINGLETON
public static final AbstractRegistry.InstantiationMode MULTIPLE
public static final AbstractRegistry.InstantiationMode OFF
public static AbstractRegistry.InstantiationMode[] values()
for (AbstractRegistry.InstantiationMode c : AbstractRegistry.InstantiationMode.values()) System.out.println(c);
public static AbstractRegistry.InstantiationMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null