org.apache.geronimo.connector.outbound.connectiontracking
Class SharedConnectorInstanceContext

java.lang.Object
  extended by org.apache.geronimo.connector.outbound.connectiontracking.SharedConnectorInstanceContext
All Implemented Interfaces:
ConnectorInstanceContext

public class SharedConnectorInstanceContext
extends Object
implements ConnectorInstanceContext


Constructor Summary
SharedConnectorInstanceContext(Set unshareableResources, Set applicationManagedSecurityResources, boolean share)
           
 
Method Summary
 Set getApplicationManagedSecurityResources()
           
 Map getConnectionManagerMap()
          IMPORTANT INVARIANT: this should always return a map, never null.
 Set getUnshareableResources()
           
 void hide()
           
 void share(SharedConnectorInstanceContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedConnectorInstanceContext

public SharedConnectorInstanceContext(Set unshareableResources,
                                      Set applicationManagedSecurityResources,
                                      boolean share)
Method Detail

share

public void share(SharedConnectorInstanceContext context)

hide

public void hide()

getConnectionManagerMap

public Map getConnectionManagerMap()
Description copied from interface: ConnectorInstanceContext
IMPORTANT INVARIANT: this should always return a map, never null.

Specified by:
getConnectionManagerMap in interface ConnectorInstanceContext
Returns:
map of ConnectionManager to (list of ) managed connection info objects.

getUnshareableResources

public Set getUnshareableResources()
Specified by:
getUnshareableResources in interface ConnectorInstanceContext

getApplicationManagedSecurityResources

public Set getApplicationManagedSecurityResources()
Specified by:
getApplicationManagedSecurityResources in interface ConnectorInstanceContext


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