Class RepositoryResourceAdapter
java.lang.Object
org.exoplatform.connectors.jcr.impl.adapter.RepositoryResourceAdapter
- All Implemented Interfaces:
javax.resource.spi.ResourceAdapter
A dummy ResourceAdapter
- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) voidendpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) booleangetXAResources(javax.resource.spi.ActivationSpec[] specs) inthashCode()voidstart(javax.resource.spi.BootstrapContext ctx) voidstop()
-
Constructor Details
-
RepositoryResourceAdapter
public RepositoryResourceAdapter()
-
-
Method Details
-
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- See Also:
-
ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[])
-
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- See Also:
-
ResourceAdapter.start(javax.resource.spi.BootstrapContext)
-
stop
public void stop()- Specified by:
stopin interfacejavax.resource.spi.ResourceAdapter- See Also:
-
ResourceAdapter.stop()
-
hashCode
public int hashCode() -
equals
-