Save This Page
Home » geronimo-2.2-source-release » org.apache.geronimo.connector.outbound » [javadoc | source]
org.apache.geronimo.connector.outbound
public class: ConnectionTrackingInterceptorTest [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.geronimo.connector.outbound.ConnectionInterceptorTestUtils
         org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptorTest

All Implemented Interfaces:
    ConnectionTracker, RealmBridge, ConnectionInterceptor

TODO test unshareable resources. TODO test repeat calls with null/non-null Subject
Fields inherited from org.apache.geronimo.connector.outbound.ConnectionInterceptorTestUtils:
subject,  obtainedConnectionInfo,  returnedConnectionInfo,  managedConnection
Method from org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptorTest Summary:
getConnection,   handleObtained,   handleReleased,   setEnvironment,   setUp,   tearDown,   testConnectionRegistration,   testEnterWithChangedSubject,   testEnterWithSameSubject,   testExitWithDissociatableConnection,   testExitWithNonDissociatableConnection
Methods from org.apache.geronimo.connector.outbound.ConnectionInterceptorTestUtils:
getConnection,   makeConnectionInfo,   makeSubject,   mapSubject,   returnConnection,   setUp,   tearDown,   testNothing
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptorTest Detail:
 public  void getConnection(ConnectionInfo connectionInfo) throws ResourceException 
 public  void handleObtained(ConnectionTrackingInterceptor connectionTrackingInterceptor,
    ConnectionInfo connectionInfo) 
 public  void handleReleased(ConnectionTrackingInterceptor connectionTrackingInterceptor,
    ConnectionInfo connectionInfo) 
 public  void setEnvironment(ConnectionInfo connectionInfo,
    String key) 
 protected  void setUp() throws Exception 
 protected  void tearDown() throws Exception 
 public  void testConnectionRegistration() throws Exception 
 public  void testEnterWithChangedSubject() throws Exception 
 public  void testEnterWithSameSubject() throws Exception 
 public  void testExitWithDissociatableConnection() throws Exception 
 public  void testExitWithNonDissociatableConnection() throws Exception