Package com.sun.xml.ws.api.server
Enum LazyMOMProvider.Scope
- java.lang.Object
-
- java.lang.Enum<LazyMOMProvider.Scope>
-
- com.sun.xml.ws.api.server.LazyMOMProvider.Scope
-
- All Implemented Interfaces:
Serializable
,Comparable<LazyMOMProvider.Scope>
- Enclosing class:
- LazyMOMProvider
public static enum LazyMOMProvider.Scope extends Enum<LazyMOMProvider.Scope>
Possible scopes (environments) in which the provider (and object associated with it) could be in. Default scope is STANDALONE - applied during initialization of classes. For now, only possible scope change for a object can be in this direction: STANDALONE -> GLASSFISH_NO_JMX -> GLASSFISH_JMX.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLASSFISH_JMX
Same as STANDALONE.GLASSFISH_NO_JMX
In this scope almost all Gmbal API call are deferred until a JMX connection to a Glassfish server is createdSTANDALONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LazyMOMProvider.Scope
valueOf(String name)
Returns the enum constant of this type with the specified name.static LazyMOMProvider.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDALONE
public static final LazyMOMProvider.Scope STANDALONE
-
GLASSFISH_NO_JMX
public static final LazyMOMProvider.Scope GLASSFISH_NO_JMX
In this scope almost all Gmbal API call are deferred until a JMX connection to a Glassfish server is created
-
GLASSFISH_JMX
public static final LazyMOMProvider.Scope GLASSFISH_JMX
Same as STANDALONE. Gmbal API calls are processed immediately.
-
-
Method Detail
-
values
public static LazyMOMProvider.Scope[] 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 (LazyMOMProvider.Scope c : LazyMOMProvider.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LazyMOMProvider.Scope 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
-
-