|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.webconsole.StateUtils
public class StateUtils
Helper class dealing with instance and factory states.
Constructor Summary | |
---|---|
StateUtils()
|
Method Summary | |
---|---|
static String |
getDependencyBindingPolicy(int policy)
Gets the dependency binding policy as a String. |
static String |
getDependencyState(int state)
Gets the dependency state as a String. |
static String |
getFactoryState(int state)
Gets the factory state as a String. |
static |
getInstanceList(
Gets the instance list created by the given factory. |
static String |
getInstanceState(int state)
Gets the instance state as a String. |
static int |
getInvalidFactoriesCount(
Gets the number of invalid factories. |
static int |
getInvalidHandlersCount(
Gets the number of invalid handlers. |
static int |
getInvalidInstancesCount(
Gets the number of invalid instances. |
static String |
getProvidedServiceState(int state)
Gets the provided service state as a String. |
static int |
getValidFactoriesCount(
Gets the number of valid factories. |
static int |
getValidHandlersCount(
Gets the number of valid handlers. |
static int |
getValidInstancesCount(
Gets the number of valid instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateUtils()
Method Detail |
---|
public static int getValidInstancesCount(archs)
archs
- the instance architecture list
public static int getInvalidInstancesCount(archs)
archs
- the instance architecture list
public static int getValidFactoriesCount(factories)
factories
- the factory list
public static int getInvalidFactoriesCount(factories)
factories
- the factory list
public static int getValidHandlersCount(handlers)
handlers
- the handler factory list
public static int getInvalidHandlersCount(handlers)
handlers
- the handler factory list
public static String getInstanceState(int state)
state
- the state.
public static String getFactoryState(int state)
state
- the state.
public staticgetInstanceList( archs, String factory)
archs
- the list of instance architecturesfactory
- the factory name
public static String getDependencyState(int state)
state
- the state.
public static String getDependencyBindingPolicy(int policy)
policy
- the policy.
public static String getProvidedServiceState(int state)
state
- the state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |