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

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

public class ConnectorInstanceContextImpl
extends Object
implements ConnectorInstanceContext

Simple implementation of ComponentContext satisfying invariant.


Constructor Summary
ConnectorInstanceContextImpl(Set<String> unshareableResources, Set<String> applicationManagedSecurityResources)
           
 
Method Summary
 Set<String> getApplicationManagedSecurityResources()
           
 Map<ConnectionTrackingInterceptor,Set<ConnectionInfo>> getConnectionManagerMap()
          IMPORTANT INVARIANT: this should always return a map, never null.
 Set<String> getUnshareableResources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorInstanceContextImpl

public ConnectorInstanceContextImpl(Set<String> unshareableResources,
                                    Set<String> applicationManagedSecurityResources)
Method Detail

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.