com.metamatrix.platform.registry
Class ProcessMonitor

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

public class ProcessMonitor
extends java.lang.Object
implements ServerEvents

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


Constructor Summary
ProcessMonitor(java.lang.String hostName, java.lang.String processname, ClusteredRegistryState registry)
           
 
Method Summary
 void processAdded(ProcessRegistryBinding binding)
           
 void processRemoved(java.lang.String hostName, java.lang.String processName)
           
 void processUpdated(ProcessRegistryBinding binding)
           
 void serviceAdded(ServiceRegistryBinding binding)
           
 void serviceRemoved(ServiceID id)
           
 void serviceUpdated(ServiceRegistryBinding binding)
           
 void shutdown()
          Should be called when the local VM is going down.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessMonitor

public ProcessMonitor(java.lang.String hostName,
                      java.lang.String processname,
                      ClusteredRegistryState registry)
Method Detail

shutdown

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


serviceAdded

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

serviceRemoved

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

processAdded

public void processAdded(ProcessRegistryBinding binding)
Specified by:
processAdded in interface ServerEvents

processRemoved

public void processRemoved(java.lang.String hostName,
                           java.lang.String processName)
Specified by:
processRemoved in interface ServerEvents

serviceUpdated

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

processUpdated

public void processUpdated(ProcessRegistryBinding binding)
Specified by:
processUpdated in interface ServerEvents


Copyright © 2009. All Rights Reserved.