org.apache.geronimo.connector.outbound.connectiontracking
Interface TrackedConnectionAssociator

All Known Implementing Classes:
ConnectionTrackingCoordinator

public interface TrackedConnectionAssociator


Method Summary
 ConnectorInstanceContext enter(ConnectorInstanceContext newConnectorInstanceContext)
           
 void exit(ConnectorInstanceContext connectorInstanceContext)
           
 boolean isLazyConnect()
          If true, ConnectorInstanceContext instance does not have to be kept on a per component basis; otherwise the same instance must be passed to enter each time the specific component instance is entered.
 void newTransaction()
           
 

Method Detail

isLazyConnect

boolean isLazyConnect()
If true, ConnectorInstanceContext instance does not have to be kept on a per component basis; otherwise the same instance must be passed to enter each time the specific component instance is entered.

Returns:
true if connections are proxied and only connect when invoked

enter

ConnectorInstanceContext enter(ConnectorInstanceContext newConnectorInstanceContext)
                               throws ResourceException
Throws:
ResourceException

newTransaction

void newTransaction()
                    throws ResourceException
Throws:
ResourceException

exit

void exit(ConnectorInstanceContext connectorInstanceContext)
          throws ResourceException
Throws:
ResourceException


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.