-
Field Summary
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
boolean
org.osgi.framework.Bundle
org.osgi.framework.Bundle
org.osgi.framework.Bundle
boolean
Restart the bundle with the specified symbolic name if it is
already started.
void
void
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
-
Method Details
-
getBundleByBundleName
org.osgi.framework.Bundle getBundleByBundleName(String bundleName)
-
getBundleBySymbolicName
org.osgi.framework.Bundle getBundleBySymbolicName(String symbolicName)
-
getBundleByFileName
org.osgi.framework.Bundle getBundleByFileName(String fileName)
-
doesBundleFileExists
boolean doesBundleFileExists(String fileName)
-
-
-
-
unregisterBundleByBundleName
void unregisterBundleByBundleName(String bundleName)
-
unregisterBundleByFileName
void unregisterBundleByFileName(String fileName)
-
restartBundleIfAlreadyStarted
boolean restartBundleIfAlreadyStarted(String symbolicName)
Restart the bundle with the specified symbolic name if it is
already started.
- Parameters:
symbolicName
- the symbolic name of the bundle to be restarted
- Returns:
- true if the bundle was restarted, false otherwise.