org.apache.felix.jmood.core
Interface ManagedBundleMBean
- All Known Implementing Classes:
- ManagedBundle
public interface ManagedBundleMBean
getBundleId
long getBundleId()
getExportedPackages
java.lang.String[] getExportedPackages()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getFragments
java.lang.String[] getFragments()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getHeaders
java.util.Hashtable getHeaders()
getHosts
java.lang.String[] getHosts()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getImportedPackages
java.lang.String[] getImportedPackages()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getLastModified
long getLastModified()
getRegisteredServices
java.lang.String[] getRegisteredServices()
getBundleDependencies
java.lang.String[] getBundleDependencies()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getRequiringBundles
java.lang.String[] getRequiringBundles()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getServicesInUse
java.lang.String[] getServicesInUse()
getStartLevel
int getStartLevel()
throws ServiceNotAvailableException
- Throws:
ServiceNotAvailableException
getState
java.lang.String getState()
getSymbolicName
java.lang.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 org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
stop
void stop()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
update
void update()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
uninstall
void uninstall()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
updateFromUrl
void updateFromUrl(java.lang.String url)
throws java.net.MalformedURLException,
org.osgi.framework.BundleException,
java.io.IOException
- Throws:
java.net.MalformedURLException
org.osgi.framework.BundleException
java.io.IOException
refreshBundle
void refreshBundle()
throws BundleNotAvailableException,
ServiceNotAvailableException
- Throws:
BundleNotAvailableException
ServiceNotAvailableException
resolveBundle
void resolveBundle()
throws BundleNotAvailableException,
ServiceNotAvailableException
- Throws:
BundleNotAvailableException
ServiceNotAvailableException