public class ManagedConnectionImpl extends Object implements javax.resource.spi.ManagedConnection
Constructor and Description |
---|
ManagedConnectionImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionRequestInfo connReqInfo,
Subject subject) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener) |
void |
associateConnection(Object connection) |
void |
cleanup() |
void |
destroy() |
Object |
getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo) |
javax.resource.spi.LocalTransaction |
getLocalTransaction() |
PrintWriter |
getLogWriter() |
ManagedConnectionFactoryImpl |
getManagedConnectionFactoryImpl() |
javax.resource.spi.ManagedConnectionMetaData |
getMetaData() |
javax.resource.spi.ConnectionRequestInfo |
getRequestInfo() |
XAResource |
getXAResource() |
void |
removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener) |
void |
setLogWriter(PrintWriter out) |
public ManagedConnectionImpl(ManagedConnectionFactoryImpl mcf, javax.resource.spi.ConnectionRequestInfo connReqInfo, Subject subject)
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
addConnectionEventListener
in interface javax.resource.spi.ManagedConnection
public void associateConnection(Object connection) 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 Object getConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
getConnection
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public javax.resource.spi.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
getLocalTransaction
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public javax.resource.spi.ManagedConnectionMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
removeConnectionEventListener
in interface javax.resource.spi.ManagedConnection
public void setLogWriter(PrintWriter out) throws javax.resource.ResourceException
setLogWriter
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public javax.resource.spi.ConnectionRequestInfo getRequestInfo()
public ManagedConnectionFactoryImpl getManagedConnectionFactoryImpl()
Apache CXF