Class ResourceAdapterImpl

  • All Implemented Interfaces:
    Serializable, javax.resource.spi.ResourceAdapter

    public class ResourceAdapterImpl
    extends ResourceBean
    implements javax.resource.spi.ResourceAdapter
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAdapterImpl

        public ResourceAdapterImpl()
      • ResourceAdapterImpl

        public ResourceAdapterImpl​(Properties props)
    • Method Detail

      • registerBus

        public void registerBus​(Bus bus)
      • getBusCache

        protected Set<Bus> getBusCache()
      • setBusCache

        protected void setBusCache​(Set<Bus> cache)
      • start

        public void start​(javax.resource.spi.BootstrapContext aCtx)
                   throws javax.resource.spi.ResourceAdapterInternalException
        Specified by:
        start in interface javax.resource.spi.ResourceAdapter
        Throws:
        javax.resource.spi.ResourceAdapterInternalException
      • stop

        public void stop()
        Specified by:
        stop in interface javax.resource.spi.ResourceAdapter
      • getXAResources

        public XAResource[] getXAResources​(javax.resource.spi.ActivationSpec[] as)
                                    throws javax.resource.ResourceException
        Specified by:
        getXAResources in interface javax.resource.spi.ResourceAdapter
        Throws:
        javax.resource.ResourceException
      • endpointActivation

        public void endpointActivation​(javax.resource.spi.endpoint.MessageEndpointFactory mef,
                                       javax.resource.spi.ActivationSpec as)
                                throws javax.resource.ResourceException
        Specified by:
        endpointActivation in interface javax.resource.spi.ResourceAdapter
        Throws:
        javax.resource.ResourceException
      • endpointDeactivation

        public void endpointDeactivation​(javax.resource.spi.endpoint.MessageEndpointFactory mef,
                                         javax.resource.spi.ActivationSpec as)
        Specified by:
        endpointDeactivation in interface javax.resource.spi.ResourceAdapter
      • getBootstrapContext

        public javax.resource.spi.BootstrapContext getBootstrapContext()