Class ResourceAdaptorTypeBinding

    • 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 be null for bindings to SLEE-defined interfaces such as the NullActivityContextInterfaceFactory.
        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 class JndiBinding
        Returns:
        a hash code calculated using the JNDI name and the resource adaptor type component identifier.