Package org.apache.cxf.jca.cxf
Class ResourceAdapterImpl
- java.lang.Object
-
- org.apache.cxf.jca.core.resourceadapter.ResourceBean
-
- org.apache.cxf.jca.cxf.ResourceAdapterImpl
-
- All Implemented Interfaces:
Serializable,javax.resource.spi.ResourceAdapter
public class ResourceAdapterImpl extends ResourceBean implements javax.resource.spi.ResourceAdapter
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
DEFAULT_MONITOR_POLL_INTERVAL, DEFAULT_VALUE_STRING, EJB_SERVANT_BASE_URL, EJB_SERVICE_PROPERTIES_URL, LOG_LEVEL, MONITOR_EJB_SERVICE_PROPERTIES, MONITOR_POLL_INTERVAL
-
-
Constructor Summary
Constructors Constructor Description ResourceAdapterImpl()ResourceAdapterImpl(Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)voidendpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)javax.resource.spi.BootstrapContextgetBootstrapContext()protected Set<Bus>getBusCache()XAResource[]getXAResources(javax.resource.spi.ActivationSpec[] as)voidregisterBus(Bus bus)protected voidsetBusCache(Set<Bus> cache)voidstart(javax.resource.spi.BootstrapContext aCtx)voidstop()-
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLString
-
-
-
-
Constructor Detail
-
ResourceAdapterImpl
public ResourceAdapterImpl()
-
ResourceAdapterImpl
public ResourceAdapterImpl(Properties props)
-
-
Method Detail
-
registerBus
public void registerBus(Bus bus)
-
start
public void start(javax.resource.spi.BootstrapContext aCtx) 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
-
getXAResources
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] as) throws javax.resource.ResourceException
- Specified by:
getXAResourcesin interfacejavax.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:
endpointActivationin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.ResourceException
-
endpointDeactivation
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)- Specified by:
endpointDeactivationin interfacejavax.resource.spi.ResourceAdapter
-
getBootstrapContext
public javax.resource.spi.BootstrapContext getBootstrapContext()
-
-