public class ResourceAdapterImpl extends Object implements ResourceAdapter
It is the central point where all non-local state (network endpoints, etc.) is registered.
Constructor and Description |
---|
ResourceAdapterImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
public void setName(String name)
public String getName()
public void start(BootstrapContext serverContext)
start
in interface ResourceAdapter
public void stop()
stop
in interface ResourceAdapter
public void endpointActivation(MessageEndpointFactory factory, ActivationSpec spec)
endpointActivation
in interface ResourceAdapter
public void endpointDeactivation(MessageEndpointFactory factory, ActivationSpec spec)
endpointDeactivation
in interface ResourceAdapter
public XAResource[] getXAResources(ActivationSpec[] specs)
getXAResources
in interface ResourceAdapter
Copyright © 2013 Nuxeo SA. All Rights Reserved.