Class ResourceAdaptorTypeBinding
- java.lang.Object
-
- com.opencloud.rhino.slee.environment.JndiBinding
-
- com.opencloud.rhino.slee.environment.ResourceAdaptorTypeBinding
-
- Direct Known Subclasses:
ActivityContextInterfaceFactoryBinding
,ResourceAdaptorEntityBinding
public abstract class ResourceAdaptorTypeBinding extends JndiBinding
Base class for JNDI binding metadata related to resource adaptor types.
- Since:
- Rhino 2.4.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceAdaptorTypeBinding(String jndiName, ResourceAdaptorTypeID raType, Object value)
Create a new JNDI binding metadata object for a resource adaptor type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAdaptorTypeID
getResourceAdaptorType()
Get the resource adaptor type of the binding.int
hashCode()
-
Methods inherited from class com.opencloud.rhino.slee.environment.JndiBinding
equals, getJndiName, getType, getValue
-
-
-
-
Constructor Detail
-
ResourceAdaptorTypeBinding
protected ResourceAdaptorTypeBinding(String jndiName, ResourceAdaptorTypeID raType, Object value)
Create a new JNDI binding metadata object for a resource adaptor type.
- Parameters:
jndiName
- the fully-qualified name where the value is bound in JNDI.raType
- the component identifier of the resource adaptor type used for the binding. This argument may benull
for bindings to SLEE-defined interfaces such as theNullActivityContextInterfaceFactory
.value
- the value bound to the JNDI name.- Since:
- Rhino 2.4.0
-
-
Method Detail
-
getResourceAdaptorType
public final ResourceAdaptorTypeID getResourceAdaptorType()
Get the resource adaptor type of the binding.
- Returns:
- the resource adaptor type.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJndiBinding
- Returns:
- a hash code calculated using the JNDI name and the resource adaptor type component identifier.
-
-