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<String> unshareableResources, Set<String> applicationManagedSecurityResources, boolean share)
           
 
Method Summary
 Set<String> getApplicationManagedSecurityResources()
           
 Map<ConnectionTrackingInterceptor,Set<ConnectionInfo>> getConnectionManagerMap()
          IMPORTANT INVARIANT: this should always return a map, never null.
 Set<String> 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<String> unshareableResources,
                                      Set<String> applicationManagedSecurityResources,
                                      boolean share)
Method Detail

share

public void share(SharedConnectorInstanceContext context)

hide

public void hide()

getConnectionManagerMap

public Map<ConnectionTrackingInterceptor,Set<ConnectionInfo>> 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<String> getUnshareableResources()
Specified by:
getUnshareableResources in interface ConnectorInstanceContext

getApplicationManagedSecurityResources

public Set<String> getApplicationManagedSecurityResources()
Specified by:
getApplicationManagedSecurityResources in interface ConnectorInstanceContext


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