public class ResourceAdapterImpl extends Object implements javax.resource.spi.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(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec) |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec spec) |
String |
getName() |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
void |
setName(String name) |
void |
start(javax.resource.spi.BootstrapContext serverContext) |
void |
stop() |
public ResourceAdapterImpl()
public void start(javax.resource.spi.BootstrapContext serverContext)
start
in interface javax.resource.spi.ResourceAdapter
public void stop()
stop
in interface javax.resource.spi.ResourceAdapter
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory factory, javax.resource.spi.ActivationSpec spec)
endpointActivation
in interface javax.resource.spi.ResourceAdapter
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory, javax.resource.spi.ActivationSpec spec)
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs)
getXAResources
in interface javax.resource.spi.ResourceAdapter
Copyright © 2018 Nuxeo. All rights reserved.