Enum BindingType
- java.lang.Object
-
- java.lang.Enum<BindingType>
-
- com.opencloud.rhino.slee.environment.BindingType
-
- All Implemented Interfaces:
Serializable
,Comparable<BindingType>
public enum BindingType extends Enum<BindingType>
The type of a JNDI binding.
- Since:
- Rhino 2.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITY_CONTEXT_INTERFACE_FACTORY
A binding for an activity context interface factory.ENV_ENTRY
A binding for an environment entry.FACILITY
A binding to a SLEE facility.LIMITER_ENDPOINT
A binding to a Rhino limiter endpoint.RESOURCE_ADAPTOR_ENTITY
A binding to a resource adaptor entity.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BindingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BindingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENV_ENTRY
public static final BindingType ENV_ENTRY
A binding for an environment entry.
- Since:
- Rhino 2.4.0
-
ACTIVITY_CONTEXT_INTERFACE_FACTORY
public static final BindingType ACTIVITY_CONTEXT_INTERFACE_FACTORY
A binding for an activity context interface factory.
- Since:
- Rhino 2.4.0
-
RESOURCE_ADAPTOR_ENTITY
public static final BindingType RESOURCE_ADAPTOR_ENTITY
A binding to a resource adaptor entity.
- Since:
- Rhino 2.4.0
-
FACILITY
public static final BindingType FACILITY
A binding to a SLEE facility. Activity factories such as
NullActivityFactory
andServiceActivityFactory
are also considered facilities for this purpose.- Since:
- Rhino 2.4.0
-
LIMITER_ENDPOINT
public static final BindingType LIMITER_ENDPOINT
A binding to a Rhino limiter endpoint.
- Since:
- Rhino 2.4.0
-
-
Method Detail
-
values
public static BindingType[] 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 (BindingType c : BindingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BindingType 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
-
-