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 Details

    • 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 Details

    • values

      public static LazyMOMProvider.Scope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null