com.hazelcast.jca
Class ManagedConnectionImpl
java.lang.Object
com.hazelcast.jca.JcaBase
com.hazelcast.jca.ManagedConnectionImpl
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
public class ManagedConnectionImpl
- extends JcaBase
- implements javax.resource.spi.ManagedConnection
Implementation class of ManagedConnection
Methods inherited from interface javax.resource.spi.ManagedConnection |
getLogWriter, setLogWriter |
ManagedConnectionImpl
public ManagedConnectionImpl(javax.resource.spi.ConnectionRequestInfo cxRequestInfo,
ManagedConnectionFactoryImpl factory)
addConnectionEventListener
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
- Specified by:
addConnectionEventListener
in interface javax.resource.spi.ManagedConnection
associateConnection
public void associateConnection(Object arg0)
throws javax.resource.ResourceException
- Specified by:
associateConnection
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
cleanup
public void cleanup()
throws javax.resource.ResourceException
- Specified by:
cleanup
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
destroy
public void destroy()
throws javax.resource.ResourceException
- Specified by:
destroy
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getConnection
public HazelcastConnection getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
- Specified by:
getConnection
in interface javax.resource.spi.ManagedConnection
getCxRequestInfo
public javax.resource.spi.ConnectionRequestInfo getCxRequestInfo()
getLocalTransaction
public HazelcastTransaction getLocalTransaction()
- Specified by:
getLocalTransaction
in interface javax.resource.spi.ManagedConnection
getMetaData
public com.hazelcast.jca.HazelcastManagedConnectionMetaData getMetaData()
- Specified by:
getMetaData
in interface javax.resource.spi.ManagedConnection
getXAResource
public XAResource getXAResource()
throws javax.resource.ResourceException
- Specified by:
getXAResource
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getTx
public HazelcastTransactionImpl getTx()
isDeliverClosed
protected boolean isDeliverClosed()
isDeliverCommitedEvent
protected boolean isDeliverCommitedEvent()
isDeliverRolledback
protected boolean isDeliverRolledback()
isDeliverStartedEvent
protected boolean isDeliverStartedEvent()
removeConnectionEventListener
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener
in interface javax.resource.spi.ManagedConnection
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.