|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.common.sysinfo.DefaultSystemInfoRegistry
| Field Summary | |
static java.lang.String |
INFO_CLASS_TAG
tag for info-xml: the information classe tag. |
static java.lang.String |
INFO_CLASSES_TAG
tag for info-xml: the container for all information classes. |
static java.lang.String |
INFO_SYSTEM_INFORMATION_TAG
tag for info-xml: the SystemInfoProvider registered. |
| Constructor Summary | |
DefaultSystemInfoRegistry()
Creates a new DefaultSystemInfoRegistry. |
|
| Method Summary | |
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
java.lang.String[] |
getAllInfoClasses()
Returns all classes for system information. |
SystemInfoProvider[] |
getAllSystemInfoProviders(java.lang.String infoClass)
Returns an array containing all registered SystemInfoProvider
for the given information class. |
void |
registerSystemInfoProvider(java.lang.String infoClass,
SystemInfoProvider systemInfoProvider)
Registers the given SystemInfoProvider for the given
information class. |
void |
unregisterSystemInfoProvider(SystemInfoProvider systemInfoProvider)
Unregisters the previous registered SystemInfoProvider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String INFO_CLASSES_TAG
public static final java.lang.String INFO_CLASS_TAG
public static final java.lang.String INFO_SYSTEM_INFORMATION_TAG
SystemInfoProvider registered.
| Constructor Detail |
public DefaultSystemInfoRegistry()
DefaultSystemInfoRegistry.
| Method Detail |
public void registerSystemInfoProvider(java.lang.String infoClass,
SystemInfoProvider systemInfoProvider)
SystemInfoRegistrySystemInfoProvider for the given
information class.
registerSystemInfoProvider in interface SystemInfoRegistryinfoClass - the info class to register under (not null)SystemInfoRegistry.registerSystemInfoProvider(java.lang.String, com.sdm.quasar.client.core.common.sysinfo.SystemInfoProvider)public void unregisterSystemInfoProvider(SystemInfoProvider systemInfoProvider)
SystemInfoRegistrySystemInfoProvider.
unregisterSystemInfoProvider in interface SystemInfoRegistrysystemInfoProvider - the SystemInfoProvider to unregister (not null)SystemInfoRegistry.unregisterSystemInfoProvider(com.sdm.quasar.client.core.common.sysinfo.SystemInfoProvider)public java.lang.String[] getAllInfoClasses()
SystemInfoRegistry
getAllInfoClasses in interface SystemInfoRegistrySystemInfoRegistry.getAllInfoClasses()public SystemInfoProvider[] getAllSystemInfoProviders(java.lang.String infoClass)
SystemInfoRegistrySystemInfoProvider
for the given information class.
getAllSystemInfoProviders in interface SystemInfoRegistryinfoClass - the information class to get all
SystemInfoProvider for (not null)SystemInfoRegistry.getAllSystemInfoProviders(java.lang.String)
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
SystemInfoProviderSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
collectSystemInfo in interface SystemInfoProviderroot - the SystemInfoNode to add information to (guaranteed to be not null)options - contains additional options, that might influence the amount of
information added to the tree (guaranteed to be not null)SystemInfoProvider.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||