public class ResourceAdapterImpl extends Object implements javax.resource.spi.ResourceAdapter, Serializable
Constructor and Description |
---|
ResourceAdapterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
boolean |
equals(Object obj) |
String |
getConfigLocation()
Deprecated.
|
String |
getConfigurationLocation() |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
int |
hashCode() |
void |
setConfigLocation(String configLocation)
Deprecated.
|
void |
setConfigurationLocation(String configurationLocation)
Called by the container
|
void |
setHazelcastInstance(HazelcastInstance hazelcast)
Sets the underlying hazelcast instance
Used only for testing purposes
|
void |
setId(int id) |
void |
start(javax.resource.spi.BootstrapContext ctx) |
void |
stop() |
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointActivation
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalException
start
in interface javax.resource.spi.ResourceAdapter
javax.resource.spi.ResourceAdapterInternalException
public void stop()
stop
in interface javax.resource.spi.ResourceAdapter
public void setHazelcastInstance(HazelcastInstance hazelcast)
public String getConfigurationLocation()
public void setConfigurationLocation(String configurationLocation)
configurationLocation
- Hazelcast's configuration location@Deprecated public String getConfigLocation()
@Deprecated public void setConfigLocation(String configLocation)
public void setId(int id)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.