Package org.jboss.resource.adapter.jms
Class JmsResourceAdapter
- java.lang.Object
-
- org.jboss.resource.adapter.jms.JmsResourceAdapter
-
- All Implemented Interfaces:
javax.resource.spi.ResourceAdapter
public class JmsResourceAdapter extends Object implements javax.resource.spi.ResourceAdapter
A generic resource adapter for any JMS server.- Author:
- Adrian Brock
-
-
Constructor Summary
Constructors Constructor Description JmsResourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)voidendpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)booleanequals(Object other)javax.resource.spi.work.WorkManagergetWorkManager()Get the work managerXAResource[]getXAResources(javax.resource.spi.ActivationSpec[] specs)inthashCode()voidstart(javax.resource.spi.BootstrapContext ctx)voidstop()
-
-
-
Method Detail
-
getWorkManager
public javax.resource.spi.work.WorkManager getWorkManager()
Get the work manager- Returns:
- the work manager
-
endpointActivation
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException- Specified by:
endpointActivationin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.ResourceException
-
endpointDeactivation
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)- Specified by:
endpointDeactivationin interfacejavax.resource.spi.ResourceAdapter
-
getXAResources
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
- Specified by:
getXAResourcesin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.ResourceException
-
start
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalException- Specified by:
startin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
stop
public void stop()
- Specified by:
stopin interfacejavax.resource.spi.ResourceAdapter
-
-