org.nuxeo.ecm.core.storage.sql.ra
Class ResourceAdapterImpl
java.lang.Object
org.nuxeo.ecm.core.storage.sql.ra.ResourceAdapterImpl
- All Implemented Interfaces:
- javax.resource.spi.ResourceAdapter
public class ResourceAdapterImpl
- extends java.lang.Object
- implements javax.resource.spi.ResourceAdapter
This is the singleton representing the resource adapter, created by the
application server.
It is the central point where all non-local state (network endpoints, etc.)
is registered.
- Author:
- Florent Guillaume
Method Summary |
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec)
|
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec)
|
java.lang.String |
getName()
|
javax.transaction.xa.XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs)
|
void |
setName(java.lang.String name)
|
void |
start(javax.resource.spi.BootstrapContext serverContext)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceAdapterImpl
public ResourceAdapterImpl()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
start
public void start(javax.resource.spi.BootstrapContext serverContext)
- Specified by:
start
in interface javax.resource.spi.ResourceAdapter
stop
public void stop()
- Specified by:
stop
in interface javax.resource.spi.ResourceAdapter
endpointActivation
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec)
- Specified by:
endpointActivation
in interface javax.resource.spi.ResourceAdapter
endpointDeactivation
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec)
- Specified by:
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
getXAResources
public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs)
- Specified by:
getXAResources
in interface javax.resource.spi.ResourceAdapter
Copyright © 2010 Nuxeo SAS. All Rights Reserved.