Package org.apache.jackrabbit.jca
Class JCAResourceAdapter
- java.lang.Object
-
- org.apache.jackrabbit.jca.JCAResourceAdapter
-
- All Implemented Interfaces:
Serializable,javax.resource.spi.ResourceAdapter
public class JCAResourceAdapter extends Object implements javax.resource.spi.ResourceAdapter, Serializable
JCR ResourceAdapter.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JCAResourceAdapter()
-
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)XAResource[]getXAResources(javax.resource.spi.ActivationSpec[] as)voidstart(javax.resource.spi.BootstrapContext ctx)Notify the RepositoryManager that the lifecycle is managed by the containervoidstop()Shutdown jackrabbit repositories
-
-
-
Method Detail
-
start
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalExceptionNotify the RepositoryManager that the lifecycle is managed by the container- Specified by:
startin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
stop
public void stop()
Shutdown jackrabbit repositories- Specified by:
stopin interfacejavax.resource.spi.ResourceAdapter
-
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
-
getXAResources
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] as) throws javax.resource.ResourceException
- Specified by:
getXAResourcesin interfacejavax.resource.spi.ResourceAdapter- Throws:
javax.resource.ResourceException
-
-