Interacting with the OSGi bundle cache

You can use the OSGi BundleCacheManager MBean to interact with bundles that are in the bundle cache. The bundle cache is a local directory that contains bundles that are referenced by OSGi applications, and have been downloaded from both internal and external repositories.

About this task

The methods for the OSGi BundleCacheManager MBean interface are documented in the Additional Application Programming Interfaces (APIs) section of the generated API documentation.

You use the MBean methods with the AdminControl object of the wsadmin scripting client. For example:
objNameString = AdminControl.completeObjectName('WebSphere:type=BundleCacheManager,*')
print AdminControl.invoke(objNameString, 'areAllDownloadsComplete') 
For more information about using MBean methods with the AdminControl object, see the invoke and invoke_jmx sections of Commands for the AdminControl object using wsadmin scripting.

Some common tasks for which you might use this MBean are as follows:

Procedure


Icon that indicates the topic type Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Saturday, 20 October 2012
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700osgijpa&product=was-nd-mp&topic=ta_admin_bundlecachemanager

Copyright IBM Corporation 2009, 2012.
This information center is powered by Eclipse technology. (http://www.eclipse.org)