org.ow2.jonas.ee.scout
Class JAXRResourceAdapter

java.lang.Object
  extended by org.ow2.jonas.ee.scout.JAXRResourceAdapter
All Implemented Interfaces:
ResourceAdapter

public class JAXRResourceAdapter
extends Object
implements ResourceAdapter

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

Author:
Guillaume Sauthier

Constructor Summary
JAXRResourceAdapter()
           
 
Method Summary
 void endpointActivation(MessageEndpointFactory mef, ActivationSpec as)
          Not used.
 void endpointDeactivation(MessageEndpointFactory mef, ActivationSpec as)
          Not used.
 XAResource[] getXAResources(ActivationSpec[] as)
          Not used.
 void start(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(BootstrapContext bCtx)
           throws ResourceAdapterInternalException
Display Info log at JAXR Connector start.

Specified by:
start in interface ResourceAdapter
Throws:
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 ResourceAdapter
See Also:
ResourceAdapter.stop()

endpointActivation

public void endpointActivation(MessageEndpointFactory mef,
                               ActivationSpec as)
                        throws ResourceException
Not used.

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

endpointDeactivation

public void endpointDeactivation(MessageEndpointFactory mef,
                                 ActivationSpec as)
Not used.

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

getXAResources

public XAResource[] getXAResources(ActivationSpec[] as)
                            throws ResourceException
Not used.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.