Class WSManagedConnectionFactoryCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class WSManagedConnectionFactoryCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback

    The WSManagedConnectionFactoryCallback allows a reference of the target ManagedConnectionFactory to be collected by WSMapingCallbackHandler and pass it to the WSPrincipalMappingLoginModule.

    • Constructor Summary

      Constructors 
      Constructor Description
      WSManagedConnectionFactoryCallback​(java.lang.String hint)
      Construct a WSManagedConnectionFactoryCallback object with a usage hint.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.resource.spi.ManagedConnectionFactory getManagedConnectionFacotry()
      Return the ManagedConnectionFactory.
      void setManagedConnectionFactory​(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
      Set the ManagedConnectionFactory reference.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WSManagedConnectionFactoryCallback

        public WSManagedConnectionFactoryCallback​(java.lang.String hint)

        Construct a WSManagedConnectionFactoryCallback object with a usage hint.

        Parameters:
        hint - The usage hint.
    • Method Detail

      • setManagedConnectionFactory

        public void setManagedConnectionFactory​(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)

        Set the ManagedConnectionFactory reference.

        Parameters:
        managedConnectionFactory - The ManagedConnectionFactory.
      • getManagedConnectionFacotry

        public javax.resource.spi.ManagedConnectionFactory getManagedConnectionFacotry()

        Return the ManagedConnectionFactory.

        Returns:
        The ManagedConnectionFactory.