|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.msc.service.management.ServiceStatus
public class ServiceStatus
A representation of the current status of some service.
Constructor Summary | |
---|---|
ServiceStatus(String parentName,
String serviceName,
String[] aliases,
String serviceClassName,
String modeName,
String stateName,
String substateName,
String[] dependencies,
boolean dependencyFailed,
String exception,
boolean dependencyUnavailable)
Construct a new instance. |
Method Summary | |
---|---|
String[] |
getAliases()
Get the service aliases, if any, as strings. |
String[] |
getDependencies()
The list of dependency names for this service. |
String |
getException()
Get the service start exception. |
String |
getModeName()
Get the service mode, as a string. |
String |
getParentName()
Get the name of the parent service, if any. |
String |
getServiceClassName()
Get the service class name, or "<unknown>" if not known. |
String |
getServiceName()
Get the service name, as a string. |
String |
getStateName()
Get the service state, as a string. |
String |
getSubstateName()
Get the service internal substate, as a string. |
boolean |
isDependencyFailed()
Determine if some dependency was failed at the time of the query. |
boolean |
isDependencyUnavailable()
Determine if some dependency was not available at the time of the query. |
String |
toString()
Get a string representation of the current status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@ConstructorProperties(value={"parentName","serviceName","serviceClassName","modeName","stateName","substateName","dependencies","dependencyFailed","exception","dependencyUnavailable"}) public ServiceStatus(String parentName, String serviceName, String[] aliases, String serviceClassName, String modeName, String stateName, String substateName, String[] dependencies, boolean dependencyFailed, String exception, boolean dependencyUnavailable)
parentName
- the name of the parentserviceName
- the service namealiases
- the aliases of this serviceserviceClassName
- the name of the service classmodeName
- the service mode namestateName
- the service state namesubstateName
- the internal service substate namedependencies
- the list of dependencies for this servicedependencyFailed
- true
if some dependency is failedexception
- the service start exceptiondependencyUnavailable
- true
if some dependency is unavailableMethod Detail |
---|
public String getServiceName()
public String[] getAliases()
public String getServiceClassName()
"<unknown>"
if not known.
public String getModeName()
public String getStateName()
public String getSubstateName()
public String[] getDependencies()
public boolean isDependencyFailed()
true
if some dependency was failedpublic boolean isDependencyUnavailable()
true
if some dependency was unavailablepublic String getException()
public String toString()
toString
in class Object
public String getParentName()
|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |