org.nuxeo.ecm.core.storage.sql.ra
Class ResourceAdapterImpl
java.lang.Object
org.nuxeo.ecm.core.storage.sql.ra.ResourceAdapterImpl
- All Implemented Interfaces:
- ResourceAdapter
public class ResourceAdapterImpl
- extends Object
- implements 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
ResourceAdapterImpl
public ResourceAdapterImpl()
setName
public void setName(String name)
getName
public String getName()
start
public void start(BootstrapContext serverContext)
- Specified by:
start
in interface ResourceAdapter
stop
public void stop()
- Specified by:
stop
in interface ResourceAdapter
endpointActivation
public void endpointActivation(MessageEndpointFactory factory,
ActivationSpec spec)
- Specified by:
endpointActivation
in interface ResourceAdapter
endpointDeactivation
public void endpointDeactivation(MessageEndpointFactory factory,
ActivationSpec spec)
- Specified by:
endpointDeactivation
in interface ResourceAdapter
getXAResources
public XAResource[] getXAResources(ActivationSpec[] specs)
- Specified by:
getXAResources
in interface ResourceAdapter
Copyright © 2011 Nuxeo SAS. All Rights Reserved.