org.apache.felix.jmood.core
Interface ManagedBundleMBean

All Known Implementing Classes:
ManagedBundle

public interface ManagedBundleMBean


Method Summary
 java.lang.String[] getBundleDependencies()
           
 long getBundleId()
           
 java.lang.String[] getExportedPackages()
           
 java.lang.String[] getFragments()
           
 java.util.Hashtable getHeaders()
           
 java.lang.String[] getHosts()
           
 java.lang.String[] getImportedPackages()
           
 long getLastModified()
           
 java.lang.String[] getRegisteredServices()
           
 java.lang.String[] getRequiringBundles()
           
 java.lang.String[] getServicesInUse()
           
 int getStartLevel()
           
 java.lang.String getState()
           
 java.lang.String getSymbolicName()
           
 boolean isBundlePersistentlyStarted()
           
 boolean isFragment()
           
 boolean isRemovalPending()
           
 boolean isRequired()
           
 void refreshBundle()
           
 void resolveBundle()
           
 void start()
           
 void stop()
           
 void uninstall()
           
 void update()
           
 void updateFromUrl(java.lang.String url)
           
 

Method Detail

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