@Connector(description="Hazelcast JCA Connection",
displayName="Hazelcast",
vendorName="Hazelcast.com",
eisType="Hazelcast",
licenseDescription="Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.",
licenseRequired=true,
transactionSupport=XATransaction,
version="3.8")
public class ResourceAdapterImpl
extends Object
implements javax.resource.spi.ResourceAdapter, javax.resource.Referenceable, 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() |
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance()
Provides access to the underlying hazelcast instance
|
Reference |
getReference() |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
int |
hashCode() |
Boolean |
isClient() |
void |
setClient(Boolean client)
Called by the container.
|
void |
setConfigLocation(String configLocation)
Deprecated.
|
void |
setConfigurationLocation(String configurationLocation)
Called by the container
|
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcast)
Sets the underlying hazelcast instance
Used only for testing purposes
|
void |
setId(int id) |
void |
setReference(Reference reference) |
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.ResourceAdapterjavax.resource.ResourceExceptionpublic void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
endpointDeactivation in interface javax.resource.spi.ResourceAdapterpublic XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionpublic void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.ResourceAdapterInternalExceptionpublic void stop()
stop in interface javax.resource.spi.ResourceAdapterpublic com.hazelcast.core.HazelcastInstance getHazelcastInstance()
public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcast)
public Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionReferenceablepublic void setReference(Reference reference)
Referenceablepublic String getConfigurationLocation()
public void setConfigurationLocation(String configurationLocation)
configurationLocation - Hazelcast's configuration locationpublic Boolean isClient()
public void setClient(Boolean client)
client - True if client mode is enabled.@Deprecated public String getConfigLocation()
@Deprecated public void setConfigLocation(String configLocation)
public void setId(int id)
Copyright © 2019. All Rights Reserved.