|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A SystemInfoRegistry allows to register root
SystemInfoProviders to register them at a central
registry for a special information class. This is useful for users, because
they so can gain access to this root SystemInfoProviders.
In normal use this registry will only be accessd by helper classes.
| Method Summary | |
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. |
| Method Detail |
public void registerSystemInfoProvider(java.lang.String infoClass,
SystemInfoProvider systemInfoProvider)
SystemInfoProvider for the given
information class.
infoClass - the info class to register under (not null)public void unregisterSystemInfoProvider(SystemInfoProvider systemInfoProvider)
SystemInfoProvider.
systemInfoProvider - the SystemInfoProvider to unregister (not null)public java.lang.String[] getAllInfoClasses()
public SystemInfoProvider[] getAllSystemInfoProviders(java.lang.String infoClass)
SystemInfoProvider
for the given information class.
infoClass - the information class to get all
SystemInfoProvider for (not null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||