org.apache.felix.jmood.core
Interface ManagedBundleMBean
- All Known Implementing Classes:
- ManagedBundle
public interface ManagedBundleMBean
getBundleId
long getBundleId()
getExportedPackages
String[] getExportedPackages()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getFragments
String[] getFragments()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getHeaders
Hashtable getHeaders()
getHosts
String[] getHosts()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getImportedPackages
String[] getImportedPackages()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getLastModified
long getLastModified()
getRegisteredServices
String[] getRegisteredServices()
getBundleDependencies
String[] getBundleDependencies()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getRequiringBundles
String[] getRequiringBundles()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getServicesInUse
String[] getServicesInUse()
getStartLevel
int getStartLevel()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getState
String getState()
getSymbolicName
String getSymbolicName()
isBundlePersistentlyStarted
boolean isBundlePersistentlyStarted()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
isFragment
boolean isFragment()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
isRemovalPending
boolean isRemovalPending()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
isRequired
boolean isRequired()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
start
void start()
throws BundleException
- Throws:
BundleException
stop
void stop()
throws BundleException
- Throws:
BundleException
update
void update()
throws BundleException
- Throws:
BundleException
uninstall
void uninstall()
throws BundleException
- Throws:
BundleException
updateFromUrl
void updateFromUrl(String url)
throws MalformedURLException,
BundleException,
IOException
- Throws:
MalformedURLException
BundleException
IOException
refreshBundle
void refreshBundle()
throws BundleNotAvailableException,
ServiceNotAvailableException
- Throws:
BundleNotAvailableException
ServiceNotAvailableException
resolveBundle
void resolveBundle()
throws BundleNotAvailableException,
ServiceNotAvailableException
- Throws:
BundleNotAvailableException
ServiceNotAvailableException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.