com.metamatrix.platform.registry
Class ResourcePoolMgrBinding

java.lang.Object
  extended by com.metamatrix.platform.registry.ResourcePoolMgrBinding
All Implemented Interfaces:
java.io.Serializable

public class ResourcePoolMgrBinding
extends java.lang.Object
implements java.io.Serializable

This class is a container for ServiceRegistryBinding objects for all the services running in this VM

See Also:
Serialized Form

Constructor Summary
ResourcePoolMgrBinding(ResourcePoolMgrID rpmID, ResourcePoolMgr resourcePoolMgr, MessageBus bus)
          Create a new instance of ResourcePoolMgr.
 
Method Summary
 ResourcePoolMgrID getID()
          Return ResourcePoolMgrID that this binding represents.
 ResourcePoolMgr getResourcePoolMgr()
          Return reference for ResourcePoolMgr.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourcePoolMgrBinding

public ResourcePoolMgrBinding(ResourcePoolMgrID rpmID,
                              ResourcePoolMgr resourcePoolMgr,
                              MessageBus bus)
Create a new instance of ResourcePoolMgr.

Parameters:
rpmID - Identifies ResourcePoolMgr binding represents
resourcePoolMgr - ResourcePoolMgr implementation
Method Detail

getID

public ResourcePoolMgrID getID()
Return ResourcePoolMgrID that this binding represents.

Returns:
ResourcePoolMgrID

getResourcePoolMgr

public ResourcePoolMgr getResourcePoolMgr()
Return reference for ResourcePoolMgr. If ResourcePoolMgr is running in this VM then return local reference. Else return remote reference.

Returns:
ResourcePoolMgr reference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.