com.sun.emp.cci.eci
Class ECIManagedConnection

java.lang.Object
  |
  +--com.sun.emp.cci.eci.ECIManagedConnection
All Implemented Interfaces:
ManagedConnection

public class ECIManagedConnection
extends Object
implements ManagedConnection

This class should not be used directly by applications.


Method Summary
 void addConnectionEventListener(ConnectionEventListener l)
           
 void associateConnection(Object conn)
           
 void cleanup()
           
 void destroy()
           
 boolean equals(Object o)
           
 Object getConnection(Subject subject, ConnectionRequestInfo cri)
           
 LocalTransaction getLocalTransaction()
          Not supported.
 PrintWriter getLogWriter()
           
 ManagedConnectionMetaData getMetaData()
           
 XAResource getXAResource()
          Not supported.
 int hashCode()
           
 void removeConnectionEventListener(ConnectionEventListener l)
           
 void setLogWriter(PrintWriter pw)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public Object getConnection(Subject subject,
                            ConnectionRequestInfo cri)
                     throws ResourceException
Specified by:
getConnection in interface ManagedConnection
ResourceException

destroy

public void destroy()
             throws ResourceException
Specified by:
destroy in interface ManagedConnection
ResourceException

cleanup

public void cleanup()
             throws ResourceException
Specified by:
cleanup in interface ManagedConnection
ResourceException

associateConnection

public void associateConnection(Object conn)
                         throws ResourceException
Specified by:
associateConnection in interface ManagedConnection
ResourceException

addConnectionEventListener

public void addConnectionEventListener(ConnectionEventListener l)
Specified by:
addConnectionEventListener in interface ManagedConnection

removeConnectionEventListener

public void removeConnectionEventListener(ConnectionEventListener l)
Specified by:
removeConnectionEventListener in interface ManagedConnection

getXAResource

public XAResource getXAResource()
                         throws NotSupportedException
Not supported.

Specified by:
getXAResource in interface ManagedConnection
Throws:
NotSupportedException - always

getLocalTransaction

public LocalTransaction getLocalTransaction()
                                     throws NotSupportedException
Not supported.

Specified by:
getLocalTransaction in interface ManagedConnection
Throws:
NotSupportedException - always

getMetaData

public ManagedConnectionMetaData getMetaData()
Specified by:
getMetaData in interface ManagedConnection

getLogWriter

public PrintWriter getLogWriter()
Specified by:
getLogWriter in interface ManagedConnection

setLogWriter

public void setLogWriter(PrintWriter pw)
Specified by:
setLogWriter in interface ManagedConnection

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object