com.hazelcast.jca
public class ManagedConnectionImpl extends JcaBase implements javax.resource.spi.ManagedConnection
ManagedConnection
Constructor and Description |
---|
ManagedConnectionImpl(javax.resource.spi.ConnectionRequestInfo cxRequestInfo,
ManagedConnectionFactoryImpl factory) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener) |
void |
associateConnection(Object arg0) |
void |
cleanup() |
void |
destroy() |
HazelcastConnection |
getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) |
javax.resource.spi.ConnectionRequestInfo |
getCxRequestInfo() |
HazelcastTransaction |
getLocalTransaction() |
com.hazelcast.jca.HazelcastManagedConnectionMetaData |
getMetaData() |
TransactionContext |
getTransactionContext() |
XAResource |
getXAResource() |
protected boolean |
isDeliverClosed() |
protected boolean |
isDeliverCommitedEvent() |
protected boolean |
isDeliverRolledback() |
protected boolean |
isDeliverStartedEvent() |
void |
removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener) |
String |
toString() |
getLogWriter, setLogWriter
public ManagedConnectionImpl(javax.resource.spi.ConnectionRequestInfo cxRequestInfo, ManagedConnectionFactoryImpl factory)
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
addConnectionEventListener
in interface javax.resource.spi.ManagedConnection
public void associateConnection(Object arg0) throws javax.resource.ResourceException
associateConnection
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public void cleanup() throws javax.resource.ResourceException
cleanup
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public void destroy() throws javax.resource.ResourceException
destroy
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public HazelcastConnection getConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
getConnection
in interface javax.resource.spi.ManagedConnection
public javax.resource.spi.ConnectionRequestInfo getCxRequestInfo()
public HazelcastTransaction getLocalTransaction()
getLocalTransaction
in interface javax.resource.spi.ManagedConnection
public TransactionContext getTransactionContext()
public com.hazelcast.jca.HazelcastManagedConnectionMetaData getMetaData()
getMetaData
in interface javax.resource.spi.ManagedConnection
public XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
protected boolean isDeliverClosed()
protected boolean isDeliverCommitedEvent()
protected boolean isDeliverRolledback()
protected boolean isDeliverStartedEvent()
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
removeConnectionEventListener
in interface javax.resource.spi.ManagedConnection
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.