|
||||||||||
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:
BundleInfo
PackageInfo
ServiceInfo
Internally, 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()
|
java.util.Hashtable |
getProperties()
This hashtable contains the framework properties: FRAMEWORK_VERSION
FRAMEWORK_VENDOR
FRAMEWORK_LANGUAGE
FRAMEWORK_OS_NAME
FRAMEWORK_OS_VERSION
FRAMEWORK_PROCESSOR
|
java.lang.String |
getProperty(java.lang.String key)
|
ServiceInfo[] |
getServiceInfo()
|
Method Detail |
---|
BundleInfo[] getBundles()
ServiceInfo[] getServiceInfo() throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
PackageInfo[] getPackageInfo() throws ServiceNotAvailableException
ServiceNotAvailableException
java.util.Hashtable getProperties()
FRAMEWORK_VERSION
FRAMEWORK_VENDOR
FRAMEWORK_LANGUAGE
FRAMEWORK_OS_NAME
FRAMEWORK_OS_VERSION
FRAMEWORK_PROCESSOR
Plus, if available:
FRAMEWORK_BOOTDELEGATION
FRAMEWORK_EXECUTIONENVIRONMENT
FRAMEWORK_SYSTEMPACKAGES
Constants
java.lang.String getProperty(java.lang.String key)
key
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |