com.sleepycat.je.jca.ra
Class JEManagedConnection

java.lang.Object
  extended by com.sleepycat.je.jca.ra.JEManagedConnection

public class JEManagedConnection
extends Object


Constructor Summary
JEManagedConnection(Subject subject, JERequestInfo jeInfo)
           
 
Method Summary
 void addConnectionEventListener(ConnectionEventListener listener)
           
 void associateConnection(Object connection)
           
 void cleanup()
           
protected  void close()
           
 void destroy()
           
 Object getConnection(Subject subject, ConnectionRequestInfo connectionRequestInfo)
           
protected  XAEnvironment getEnvironment()
           
 LocalTransaction getLocalTransaction()
           
 PrintWriter getLogWriter()
           
 ManagedConnectionMetaData getMetaData()
           
 XAResource getXAResource()
           
(package private)  Database openDatabase(String dbName, DatabaseConfig config)
           
(package private)  SecondaryDatabase openSecondaryDatabase(String dbName, Database primaryDatabase, SecondaryConfig config)
           
 void removeConnectionEventListener(ConnectionEventListener listener)
           
(package private)  void removeDatabase(String dbName)
           
protected  void sendConnectionEvent(ConnectionEvent connEvent)
           
 void setLogWriter(PrintWriter out)
           
(package private)  long truncateDatabase(String dbName, boolean returnCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JEManagedConnection

JEManagedConnection(Subject subject,
                    JERequestInfo jeInfo)
              throws ResourceException
Throws:
ResourceException
Method Detail

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-2012 Oracle. All rights reserved.