org.apache.felix.jmood.core
Interface ManagedBundleMBean

All Known Implementing Classes:
ManagedBundle

public interface ManagedBundleMBean


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

Method Detail

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 © 2006-2011 Apache Software Foundation. All Rights Reserved.