org.objectweb.jonas.jaxr.scout
Class JAXRResourceAdapter

java.lang.Object
  extended by org.objectweb.jonas.jaxr.scout.JAXRResourceAdapter
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter

public class JAXRResourceAdapter
extends java.lang.Object
implements javax.resource.spi.ResourceAdapter

This is a very simple ResourceAdapter just used to display traces.

Author:
Guillaume Sauthier

Constructor Summary
JAXRResourceAdapter()
           
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)
          Not used.
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)
          Not used.
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] as)
          Not used.
 void start(javax.resource.spi.BootstrapContext bCtx)
          Display Info log at JAXR Connector start.
 void stop()
          Display Info log at JAXR Connector stop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXRResourceAdapter

public JAXRResourceAdapter()
Method Detail

start

public void start(javax.resource.spi.BootstrapContext bCtx)
           throws javax.resource.spi.ResourceAdapterInternalException
Display Info log at JAXR Connector start.

Specified by:
start in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException
See Also:
ResourceAdapter.start(javax.resource.spi.BootstrapContext)

stop

public void stop()
Display Info log at JAXR Connector stop.

Specified by:
stop in interface javax.resource.spi.ResourceAdapter
See Also:
ResourceAdapter.stop()

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
                               javax.resource.spi.ActivationSpec as)
                        throws javax.resource.ResourceException
Not used.

Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException
See Also:
ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)

endpointDeactivation

public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
                                 javax.resource.spi.ActivationSpec as)
Not used.

Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter
See Also:
ResourceAdapter.endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)

getXAResources

public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] as)
                                                 throws javax.resource.ResourceException
Not used.

Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException
See Also:
ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[])