com.bankframe.jca.samplefileadapter
Class SampleManagedConnection
java.lang.Object
com.bankframe.jca.samplefileadapter.SampleManagedConnection
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
- public class SampleManagedConnection
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnection
Constructor Summary |
SampleManagedConnection(javax.resource.spi.ManagedConnectionFactory mcf,
java.lang.String user)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleManagedConnection
public SampleManagedConnection(javax.resource.spi.ManagedConnectionFactory mcf,
java.lang.String user)
destroy
public void destroy()
- Specified by:
destroy
in interface javax.resource.spi.ManagedConnection
cleanup
public void cleanup()
- Specified by:
cleanup
in interface javax.resource.spi.ManagedConnection
associateConnection
public void associateConnection(java.lang.Object connection)
- Specified by:
associateConnection
in interface javax.resource.spi.ManagedConnection
addConnectionEventListener
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
- Specified by:
addConnectionEventListener
in interface javax.resource.spi.ManagedConnection
removeConnectionEventListener
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener
in interface javax.resource.spi.ManagedConnection
getXAResource
public javax.transaction.xa.XAResource getXAResource()
throws javax.resource.ResourceException
- Specified by:
getXAResource
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getLocalTransaction
public javax.resource.spi.LocalTransaction getLocalTransaction()
- Specified by:
getLocalTransaction
in interface javax.resource.spi.ManagedConnection
getMetaData
public javax.resource.spi.ManagedConnectionMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(java.io.PrintWriter out)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getConnection
public java.lang.Object getConnection(javax.security.auth.Subject arg0,
javax.resource.spi.ConnectionRequestInfo arg1)
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
Copyright © 2004 Siebel Systems, Inc. All rights reserved.