com.metamatrix.platform.registry
Class VMMonitor

java.lang.Object
  extended by com.metamatrix.platform.registry.VMMonitor
All Implemented Interfaces:
ServerEvents

public class VMMonitor
extends java.lang.Object
implements ServerEvents

This really needs to be the part of/ or be the VMController.


Constructor Summary
VMMonitor(java.lang.String hostName, java.lang.String vmName, VMControllerID vmId, ClusteredRegistryState registry)
           
 
Method Summary
 void resourcePoolManagerAdded(ResourcePoolMgrBinding binding)
           
 void resourcePoolManagerRemoved(ResourcePoolMgrID id)
           
 void serviceAdded(ServiceRegistryBinding binding)
           
 void serviceRemoved(ServiceID id)
           
 void shutdown()
          Should be called when the local VM is going down.
 void vmAdded(VMRegistryBinding binding)
           
 void vmRemoved(VMControllerID id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMMonitor

public VMMonitor(java.lang.String hostName,
                 java.lang.String vmName,
                 VMControllerID vmId,
                 ClusteredRegistryState registry)
Method Detail

shutdown

public void shutdown()
Should be called when the local VM is going down.


resourcePoolManagerAdded

public void resourcePoolManagerAdded(ResourcePoolMgrBinding binding)
Specified by:
resourcePoolManagerAdded in interface ServerEvents

resourcePoolManagerRemoved

public void resourcePoolManagerRemoved(ResourcePoolMgrID id)
Specified by:
resourcePoolManagerRemoved in interface ServerEvents

serviceAdded

public void serviceAdded(ServiceRegistryBinding binding)
Specified by:
serviceAdded in interface ServerEvents

serviceRemoved

public void serviceRemoved(ServiceID id)
Specified by:
serviceRemoved in interface ServerEvents

vmAdded

public void vmAdded(VMRegistryBinding binding)
Specified by:
vmAdded in interface ServerEvents

vmRemoved

public void vmRemoved(VMControllerID id)
Specified by:
vmRemoved in interface ServerEvents


Copyright © 2009. All Rights Reserved.