com.metamatrix.platform.admin.api.runtime
Class ProcessData

java.lang.Object
  extended by com.metamatrix.platform.admin.api.runtime.ComponentData
      extended by com.metamatrix.platform.admin.api.runtime.ProcessData
All Implemented Interfaces:
java.io.Serializable

public class ProcessData
extends ComponentData

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.platform.admin.api.runtime.ComponentData
deployed, hashCode, registered
 
Constructor Summary
ProcessData(java.lang.String hostName, java.lang.String processName, java.lang.String port, ComponentDefnID defnID, java.util.Collection<ServiceData> services, boolean deployed, boolean registered)
          Create a new instance of VMRegistryBinding.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the specified object is semantically equal to this instance.
 ComponentDefnID getComponentDefnID()
          Return ComponentDefnID for VMController.
 java.lang.String getHostName()
          return the name of the host this process belongs to.
 java.lang.String getPort()
           
 java.util.Collection<ServiceData> getServices()
          Return a list of all ServiceData objects
 
Methods inherited from class com.metamatrix.platform.admin.api.runtime.ComponentData
getName, hashCode, isDeployed, isRegistered, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessData

public ProcessData(java.lang.String hostName,
                   java.lang.String processName,
                   java.lang.String port,
                   ComponentDefnID defnID,
                   java.util.Collection<ServiceData> services,
                   boolean deployed,
                   boolean registered)
Create a new instance of VMRegistryBinding.

Parameters:
vmID - Identifies VMController binding represents
vmController - VMController implementation
hostName - Name of host VM is running on
Method Detail

getServices

public java.util.Collection<ServiceData> getServices()
Return a list of all ServiceData objects

Returns:
List of ServiceData objects

getComponentDefnID

public ComponentDefnID getComponentDefnID()
Return ComponentDefnID for VMController.

Returns:
ComponentDefnID

getHostName

public java.lang.String getHostName()
return the name of the host this process belongs to.


getPort

public java.lang.String getPort()

equals

public boolean equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance.

Overrides:
equals in class ComponentData
Parameters:
obj - the object that this instance is to be compared to.
Returns:
whether the object is equal to this object.


Copyright © 2009. All Rights Reserved.