com.sleepycat.je.jca.ra
Class JEManagedConnection
java.lang.Object
com.sleepycat.je.jca.ra.JEManagedConnection
public class JEManagedConnection
- extends Object
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 ResourceException
- Throws:
ResourceException
getConnection
public Object getConnection(Subject subject,
ConnectionRequestInfo connectionRequestInfo)
getEnvironment
protected XAEnvironment getEnvironment()
getLocalTransaction
public LocalTransaction getLocalTransaction()
getXAResource
public XAResource getXAResource()
associateConnection
public void associateConnection(Object connection)
addConnectionEventListener
public void addConnectionEventListener(ConnectionEventListener listener)
removeConnectionEventListener
public void removeConnectionEventListener(ConnectionEventListener listener)
getMetaData
public ManagedConnectionMetaData getMetaData()
setLogWriter
public void setLogWriter(PrintWriter out)
getLogWriter
public PrintWriter getLogWriter()
close
protected void close()
sendConnectionEvent
protected void sendConnectionEvent(ConnectionEvent connEvent)
destroy
public void destroy()
throws ResourceException
- Throws:
ResourceException
cleanup
public void cleanup()
removeDatabase
void removeDatabase(String dbName)
throws DatabaseException
- Throws:
DatabaseException
truncateDatabase
long truncateDatabase(String dbName,
boolean returnCount)
throws DatabaseException
- Throws:
DatabaseException
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 (c) 2004-2010 Oracle. All rights reserved.