Class ResourceAdapterImpl

  • All Implemented Interfaces:
    jakarta.resource.spi.ResourceAdapter

    @Connector(description="Resource adapter wrapping implementation of driver",
               displayName="Resource Adapter",
               vendorName="Sun Microsystems",
               eisType="Database",
               version="1.0",
               authMechanisms=@AuthenticationMechanism(authMechanism="BasicPassword",credentialInterface=PasswordCredential))
    public class ResourceAdapterImpl
    extends Object
    implements jakarta.resource.spi.ResourceAdapter
    ResourceAdapterImpl implementation for Generic JDBC Connector.
    Version:
    1.0, 02/08/05
    Author:
    Evani Sai Surya Kiran
    • Constructor Detail

      • ResourceAdapterImpl

        public ResourceAdapterImpl()
    • Method Detail

      • endpointActivation

        public void endpointActivation​(jakarta.resource.spi.endpoint.MessageEndpointFactory mef,
                                       jakarta.resource.spi.ActivationSpec as)
                                throws jakarta.resource.NotSupportedException
        Empty method implementation for endpointActivation which just throws NotSupportedException
        Specified by:
        endpointActivation in interface jakarta.resource.spi.ResourceAdapter
        Parameters:
        mef - MessageEndpointFactory
        as - ActivationSpec
        Throws:
        jakarta.resource.NotSupportedException
      • endpointDeactivation

        public void endpointDeactivation​(jakarta.resource.spi.endpoint.MessageEndpointFactory mef,
                                         jakarta.resource.spi.ActivationSpec as)
        Empty method implementation for endpointDeactivation
        Specified by:
        endpointDeactivation in interface jakarta.resource.spi.ResourceAdapter
        Parameters:
        mef - MessageEndpointFactory
        as - ActivationSpec
      • getXAResources

        public XAResource[] getXAResources​(jakarta.resource.spi.ActivationSpec[] specs)
                                    throws jakarta.resource.NotSupportedException
        Empty method implementation for getXAResources which just throws NotSupportedException
        Specified by:
        getXAResources in interface jakarta.resource.spi.ResourceAdapter
        Parameters:
        specs - ActivationSpec array
        Throws:
        jakarta.resource.NotSupportedException
      • start

        public void start​(jakarta.resource.spi.BootstrapContext ctx)
        Empty implementation of start method
        Specified by:
        start in interface jakarta.resource.spi.ResourceAdapter
        Parameters:
        ctx - BootstrapContext
      • stop

        public void stop()
        Empty implementation of stop method
        Specified by:
        stop in interface jakarta.resource.spi.ResourceAdapter
      • getTimer

        public Timer getTimer()