com.platform.ego.impl
Class ServiceInfo

java.lang.Object
  extended by com.platform.ego.impl.ServiceInfo

public class ServiceInfo
extends java.lang.Object

ServiceInfo provides detailed information about EGO services. This class is mainly used in functions that query information directly from the EGO Master.

Version:
1.2.3

Constructor Summary
ServiceInfo()
           
 
Method Summary
 ServiceContext getContext()
          Get service context definition.
 ServiceInstance[] getInstances()
          Get instances of service.
 int getInstancesNum()
          Get number of service instances.
 java.lang.String getName()
          Get name of service.
 ServicePolicy getPolicy()
          Get policy that specifies how to manage a service.
 ServiceAllocation getServiceAllocation()
          Get allocation information of a service.
 ServiceState getState()
          Get state of the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInfo

public ServiceInfo()
Method Detail

getContext

public ServiceContext getContext()
Get service context definition.

Returns:
service context definition.

getInstances

public ServiceInstance[] getInstances()
Get instances of service.

Returns:
instances of service.

getInstancesNum

public int getInstancesNum()
Get number of service instances.

Returns:
number of service instances.

getName

public java.lang.String getName()
Get name of service.

Returns:
name of service.

getPolicy

public ServicePolicy getPolicy()
Get policy that specifies how to manage a service.

Returns:
policy that specifies how to manage a service.

getServiceAllocation

public ServiceAllocation getServiceAllocation()
Get allocation information of a service.

Returns:
allocation information of a service.

getState

public ServiceState getState()
Get state of the service.

Returns:
official service states.


Copyright (C) 1992-2007 Platform Computing Corporation