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

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.