Enum Class ExtensionRegistryType
- All Implemented Interfaces:
Serializable,Comparable<ExtensionRegistryType>,Constable
Enum of places an extension registry can be added
- Author:
- Kabir Khan
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe extension registry is for the host model part in a host controller.The extension registry is for the domain model part in a host controller running as a slave.The extension registry is for a standalone or managed server.The extension registry is for the domain model part in a host controller running as a slave. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionRegistryTypeReturns the enum constant of this class with the specified name.static ExtensionRegistryType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVER
The extension registry is for a standalone or managed server. -
HOST
The extension registry is for the host model part in a host controller. -
MASTER
The extension registry is for the domain model part in a host controller running as a slave. NB it is not known during bootup of the host.xml part if we are a slave or not. But once we reach the domain part it is known. -
SLAVE
The extension registry is for the domain model part in a host controller running as a slave. NB it is not known during bootup of the host.xml part if we are a slave or not. But once we reach the domain part it is known.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getContextType
-