Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.ra
Class ResourceAdapterImpl

java.lang.Object
  extended by 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

Constructor Summary
ResourceAdapterImpl()
           
 
Method Summary
 void endpointActivation(MessageEndpointFactory factory, ActivationSpec spec)
           
 void endpointDeactivation(MessageEndpointFactory factory, ActivationSpec spec)
           
 String getName()
           
 XAResource[] getXAResources(ActivationSpec[] specs)
           
 void setName(String name)
           
 void start(BootstrapContext serverContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAdapterImpl

public ResourceAdapterImpl()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.