com.sleepycat.je.jca.ra
Class JEManagedConnection
java.lang.Object
com.sleepycat.je.jca.ra.JEManagedConnection
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
public class JEManagedConnection
- extends Object
- implements javax.resource.spi.ManagedConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JEManagedConnection
JEManagedConnection(Subject subject,
JERequestInfo jeInfo)
throws javax.resource.ResourceException
- Throws:
javax.resource.ResourceException
getConnection
public Object getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getEnvironment
protected XAEnvironment getEnvironment()
throws javax.resource.ResourceException
- 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
getXAResource
public XAResource getXAResource()
throws javax.resource.ResourceException
- Specified by:
getXAResource
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
associateConnection
public void associateConnection(Object connection)
throws javax.resource.ResourceException
- Specified by:
associateConnection
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
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
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(PrintWriter out)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
getLogWriter
public PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
close
protected void close()
sendConnectionEvent
protected void sendConnectionEvent(javax.resource.spi.ConnectionEvent connEvent)
destroy
public void destroy()
throws javax.resource.ResourceException
- Specified by:
destroy
in interface javax.resource.spi.ManagedConnection
- Throws:
javax.resource.ResourceException
cleanup
public void cleanup()
- Specified by:
cleanup
in interface javax.resource.spi.ManagedConnection
openDatabase
Database openDatabase(String dbName,
DatabaseConfig config)
throws DatabaseException
- Throws:
DatabaseException
openSecondaryDatabase
SecondaryDatabase openSecondaryDatabase(String dbName,
Database primaryDatabase,
SecondaryConfig config)
throws DatabaseException
- Throws:
DatabaseException
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.