Package org.jboss.as.naming.subsystem
Enum NamingSubsystemNamespace
- java.lang.Object
-
- java.lang.Enum<NamingSubsystemNamespace>
-
- org.jboss.as.naming.subsystem.NamingSubsystemNamespace
-
- All Implemented Interfaces:
Serializable,Comparable<NamingSubsystemNamespace>
public enum NamingSubsystemNamespace extends Enum<NamingSubsystemNamespace>
An enumeration of the supported Naming subsystem namespaces- Author:
- Jaikiran Pai
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAMING_1_0NAMING_1_1NAMING_1_2NAMING_1_3NAMING_1_4NAMING_2_0UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamingSubsystemNamespaceforUri(String uri)StringgetUriString()Get the URI of this namespace.static NamingSubsystemNamespacevalueOf(String name)Returns the enum constant of this type with the specified name.static NamingSubsystemNamespace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final NamingSubsystemNamespace UNKNOWN
-
NAMING_1_0
public static final NamingSubsystemNamespace NAMING_1_0
-
NAMING_1_1
public static final NamingSubsystemNamespace NAMING_1_1
-
NAMING_1_2
public static final NamingSubsystemNamespace NAMING_1_2
-
NAMING_1_3
public static final NamingSubsystemNamespace NAMING_1_3
-
NAMING_1_4
public static final NamingSubsystemNamespace NAMING_1_4
-
NAMING_2_0
public static final NamingSubsystemNamespace NAMING_2_0
-
-
Method Detail
-
values
public static NamingSubsystemNamespace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NamingSubsystemNamespace c : NamingSubsystemNamespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamingSubsystemNamespace valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getUriString
public String getUriString()
Get the URI of this namespace.- Returns:
- the URI
-
forUri
public static NamingSubsystemNamespace forUri(String uri)
-
-