org.otfeed.j2ee.ra
Class OtfeedManagedConnection
java.lang.Object
org.otfeed.j2ee.ra.OtfeedManagedConnection
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
public class OtfeedManagedConnection
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OtfeedManagedConnection
public OtfeedManagedConnection(OtfeedConnectionRequestInfo spec,
OtfeedResourceAdapter ra)
throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
associateConnection
public void associateConnection(java.lang.Object handle)
throws javax.resource.ResourceException
- Specified by:
associateConnection in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
shutdown
public void shutdown()
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 java.lang.Object getConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
- Specified by:
getConnection in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getLocalTransaction
public javax.resource.spi.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
- Specified by:
getLocalTransaction in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getMetaData
public javax.resource.spi.ManagedConnectionMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getXAResource
public javax.transaction.xa.XAResource getXAResource()
throws javax.resource.ResourceException
- Specified by:
getXAResource in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
fireConnectionError
public void fireConnectionError(OTError error)
fireConnectionClosed
public void fireConnectionClosed(java.lang.Object handle)
addConnectionEventListener
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener val)
- Specified by:
addConnectionEventListener in interface javax.resource.spi.ManagedConnection
removeConnectionEventListener
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener val)
- Specified by:
removeConnectionEventListener in interface javax.resource.spi.ManagedConnection
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(java.io.PrintWriter val)
throws javax.resource.ResourceException
- Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
Copyright © 2007-2008 Mike Kroutikov. All Rights Reserved.