|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FrameworkMBean
This mbean provides access to the basic framework information:
BundleInfoPackageInfoServiceInfoInternally, implementations of Info objects include references to each other, so that with getBundleInfo() you get information, indirectly, of all the services and packages.
This mbean also dynamically registers mbeans representing those objects to ease-up direct usage by generic JMX mgmt consoles (such as Jconsole) that are not aware of the data types used. While CompositeDataTypes could be used (as in former JMood implementations), they are too cumbersome to use and place too much dependency on JMX.
BundleInfo,
PackageInfo,
ServiceInfo| Method Summary | |
|---|---|
BundleInfo[] |
getBundles()
|
PackageInfo[] |
getPackageInfo()
|
Hashtable |
getProperties()
This hashtable contains the framework properties: FRAMEWORK_VERSION
FRAMEWORK_VENDOR
FRAMEWORK_LANGUAGE
FRAMEWORK_OS_NAME
FRAMEWORK_OS_VERSION
FRAMEWORK_PROCESSOR
|
String |
getProperty(String key)
|
ServiceInfo[] |
getServiceInfo()
|
| Method Detail |
|---|
BundleInfo[] getBundles()
ServiceInfo[] getServiceInfo()
throws InvalidSyntaxException
InvalidSyntaxException
PackageInfo[] getPackageInfo()
throws ServiceNotAvailableException
ServiceNotAvailableExceptionHashtable getProperties()
FRAMEWORK_VERSIONFRAMEWORK_VENDORFRAMEWORK_LANGUAGEFRAMEWORK_OS_NAMEFRAMEWORK_OS_VERSIONFRAMEWORK_PROCESSORPlus, if available:
FRAMEWORK_BOOTDELEGATIONFRAMEWORK_EXECUTIONENVIRONMENTFRAMEWORK_SYSTEMPACKAGES
ConstantsString getProperty(String key)
key -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||