com.sleepycat.je.jca.ra
Class JEManagedConnection

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

public class JEManagedConnection
extends java.lang.Object


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

Constructor Detail

JEManagedConnection

JEManagedConnection(javax.security.auth.Subject subject,
                    JERequestInfo jeInfo)
              throws ResourceException
Throws:
ResourceException
Method Detail

getConnection

public java.lang.Object getConnection(javax.security.auth.Subject subject,
                                      ConnectionRequestInfo connectionRequestInfo)
                               throws ResourceException
Throws:
ResourceException

getEnvironment

protected XAEnvironment getEnvironment()
                                throws ResourceException
Throws:
ResourceException

getLocalTransaction

public LocalTransaction getLocalTransaction()
                                     throws ResourceException
Throws:
ResourceException

getXAResource

public javax.transaction.xa.XAResource getXAResource()
                                              throws ResourceException
Throws:
ResourceException

associateConnection

public void associateConnection(java.lang.Object connection)
                         throws ResourceException
Throws:
ResourceException

addConnectionEventListener

public void addConnectionEventListener(ConnectionEventListener listener)

removeConnectionEventListener

public void removeConnectionEventListener(ConnectionEventListener listener)

getMetaData

public ManagedConnectionMetaData getMetaData()
                                      throws ResourceException
Throws:
ResourceException

setLogWriter

public void setLogWriter(java.io.PrintWriter out)
                  throws ResourceException
Throws:
ResourceException

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws ResourceException
Throws:
ResourceException

close

protected void close()

sendConnectionEvent

protected void sendConnectionEvent(ConnectionEvent connEvent)

destroy

public void destroy()
             throws ResourceException
Throws:
ResourceException

cleanup

public void cleanup()

openDatabase

Database openDatabase(java.lang.String dbName,
                      DatabaseConfig config)
                throws DatabaseException
Throws:
DatabaseException

openSecondaryDatabase

SecondaryDatabase openSecondaryDatabase(java.lang.String dbName,
                                        Database primaryDatabase,
                                        SecondaryConfig config)
                                  throws DatabaseException
Throws:
DatabaseException


Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.