com.metamatrix.platform.service.controller
Class ServiceData
java.lang.Object
com.metamatrix.platform.service.controller.ServiceData
- All Implemented Interfaces:
- java.io.Serializable
public class ServiceData
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceData
public ServiceData(int state)
getState
public int getState()
getServiceType
public java.lang.String getServiceType()
setServiceType
public void setServiceType(java.lang.String serviceType)
getInstanceName
public java.lang.String getInstanceName()
setInstanceName
public void setInstanceName(java.lang.String instanceName)
getId
public ServiceID getId()
setId
public void setId(ServiceID id)
getStartTime
public java.util.Date getStartTime()
getStateChangeTime
public java.util.Date getStateChangeTime()
getInitException
public java.lang.Throwable getInitException()
isDirty
public boolean isDirty()
setDirty
public void setDirty(boolean dirty)
updateState
public void updateState(int newState)
- Update state and stateChangedTime with new state;
If newState == state then do nothing.
- Parameters:
int
- new state of service
getRoutingId
public java.lang.String getRoutingId()
setRoutingId
public void setRoutingId(java.lang.String routingId)
Copyright © 2009. All Rights Reserved.