Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.myeis.j2c
Class MyEISManagedConnection  view MyEISManagedConnection download MyEISManagedConnection.java

java.lang.Object
  extended bycom.myeis.j2c.MyEISManagedConnection
All Implemented Interfaces:
javax.resource.spi.ManagedConnection

public class MyEISManagedConnection
extends java.lang.Object
implements javax.resource.spi.ManagedConnection


Field Summary
private  javax.resource.spi.ConnectionRequestInfo fieldConnectionRequestInfo
           
private  MyEISManagedConnectionFactory fieldManagedConnectionFactory
           
private  javax.security.auth.Subject fieldSubject
           
 
Constructor Summary
MyEISManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo, javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
          Constructor
 
Method Summary
 void addConnectionEventListener(javax.resource.spi.ConnectionEventListener arg0)
           
 void associateConnection(java.lang.Object arg0)
           
 boolean call(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record inputRecord, javax.resource.cci.Record outputRecord)
          call
 void cleanup()
           
 void close()
          close()
 void destroy()
           
 java.lang.Object getConnection(javax.security.auth.Subject arg0, javax.resource.spi.ConnectionRequestInfo arg1)
           
 javax.resource.spi.LocalTransaction getLocalTransaction()
           
 java.io.PrintWriter getLogWriter()
           
 javax.resource.spi.ManagedConnectionMetaData getMetaData()
           
 javax.transaction.xa.XAResource getXAResource()
           
 void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener arg0)
           
 void setLogWriter(java.io.PrintWriter arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldSubject

private javax.security.auth.Subject fieldSubject

fieldConnectionRequestInfo

private javax.resource.spi.ConnectionRequestInfo fieldConnectionRequestInfo

fieldManagedConnectionFactory

private MyEISManagedConnectionFactory fieldManagedConnectionFactory
Constructor Detail

MyEISManagedConnection

public MyEISManagedConnection(javax.security.auth.Subject subject,
                              javax.resource.spi.ConnectionRequestInfo connectionRequestInfo,
                              javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
Constructor

Method Detail

getConnection

public java.lang.Object getConnection(javax.security.auth.Subject arg0,
                                      javax.resource.spi.ConnectionRequestInfo arg1)
                               throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.spi.ManagedConnection

destroy

public void destroy()
             throws javax.resource.ResourceException
Specified by:
destroy in interface javax.resource.spi.ManagedConnection

cleanup

public void cleanup()
             throws javax.resource.ResourceException
Specified by:
cleanup in interface javax.resource.spi.ManagedConnection

associateConnection

public void associateConnection(java.lang.Object arg0)
                         throws javax.resource.ResourceException
Specified by:
associateConnection in interface javax.resource.spi.ManagedConnection

addConnectionEventListener

public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener arg0)
Specified by:
addConnectionEventListener in interface javax.resource.spi.ManagedConnection

removeConnectionEventListener

public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener arg0)
Specified by:
removeConnectionEventListener in interface javax.resource.spi.ManagedConnection

getXAResource

public javax.transaction.xa.XAResource getXAResource()
                                              throws javax.resource.ResourceException
Specified by:
getXAResource in interface javax.resource.spi.ManagedConnection

getLocalTransaction

public javax.resource.spi.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Specified by:
getLocalTransaction 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

setLogWriter

public void setLogWriter(java.io.PrintWriter arg0)
                  throws javax.resource.ResourceException
Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnection

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws javax.resource.ResourceException
Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnection

close

public void close()
           throws javax.resource.ResourceException
close()


call

public boolean call(javax.resource.cci.InteractionSpec interactionSpec,
                    javax.resource.cci.Record inputRecord,
                    javax.resource.cci.Record outputRecord)
             throws javax.resource.ResourceException
call