oss.net.pstream.jca
Class StreamerManagedConnection
java.lang.Object
|
+--oss.net.pstream.jca.StreamerManagedConnection
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
- public class StreamerManagedConnection
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnection
- Author:
- mgregory
To change this generated comment edit the template variable "typecomment":
Window>Preferences>Java>Templates.
To enable and disable the creation of type comments go to
Window>Preferences>Java>Code Generation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamerManagedConnection
public StreamerManagedConnection(StreamerManagedConnectionFactory mcf,
java.lang.String user)
getConnection
public java.lang.Object getConnection(javax.security.auth.Subject S,
javax.resource.spi.ConnectionRequestInfo CRI)
throws javax.resource.ResourceException
- Specified by:
getConnection in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.getConnection(Subject, ConnectionRequestInfo)
destroy
public void destroy()
throws javax.resource.ResourceException
- Specified by:
destroy in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.destroy()
cleanup
public void cleanup()
throws javax.resource.ResourceException
- Specified by:
cleanup in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.cleanup()
associateConnection
public void associateConnection(java.lang.Object O)
throws javax.resource.ResourceException
- Specified by:
associateConnection in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.associateConnection(Object)
addConnectionEventListener
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener CEL)
- Specified by:
addConnectionEventListener in interface javax.resource.spi.ManagedConnection
- See Also:
ManagedConnection.addConnectionEventListener(ConnectionEventListener)
removeConnectionEventListener
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener CEL)
- Specified by:
removeConnectionEventListener in interface javax.resource.spi.ManagedConnection
- See Also:
ManagedConnection.removeConnectionEventListener(ConnectionEventListener)
getXAResource
public javax.transaction.xa.XAResource getXAResource()
throws javax.resource.ResourceException
- Specified by:
getXAResource in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.getXAResource()
getLocalTransaction
public javax.resource.spi.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
- Specified by:
getLocalTransaction in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.getLocalTransaction()
getMetaData
public javax.resource.spi.ManagedConnectionMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.getMetaData()
setLogWriter
public void setLogWriter(java.io.PrintWriter PW)
throws javax.resource.ResourceException
- Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.setLogWriter(PrintWriter)
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException- See Also:
ManagedConnection.getLogWriter()
getUsername
public java.lang.String getUsername()
isFree
public boolean isFree()
setFree
public void setFree(boolean Free)
sendClose
public void sendClose(StreamerConnection conn)
sendError
public void sendError(StreamerConnection conn)
getTimeout
public int getTimeout()
getClient
public org.apache.commons.httpclient.HttpClient getClient()
Copyright © 2000 Dummy Corp. All Rights Reserved.