org.apache.felix.jmood.core
Class ManagedPackage

java.lang.Object
  extended by org.apache.felix.jmood.core.ManagedPackage
All Implemented Interfaces:
ManagedPackageMBean

public class ManagedPackage
extends Object
implements ManagedPackageMBean


Constructor Summary
ManagedPackage(ExportedPackage pkg)
           
 
Method Summary
 String getExportingBundle()
           
 String[] getImportingBundles()
           
 String getName()
           
 String getVersion()
           
 boolean isRemovalPending()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedPackage

public ManagedPackage(ExportedPackage pkg)
Method Detail

getExportingBundle

public String getExportingBundle()
Specified by:
getExportingBundle in interface ManagedPackageMBean
Returns:
the symbolic name of the exporting bundle

getImportingBundles

public String[] getImportingBundles()
Specified by:
getImportingBundles in interface ManagedPackageMBean
Returns:
the symbolic names of the importing bundles

getName

public String getName()
Specified by:
getName in interface ManagedPackageMBean
Returns:
the package name

getVersion

public String getVersion()
Specified by:
getVersion in interface ManagedPackageMBean
Returns:
the package version

isRemovalPending

public boolean isRemovalPending()
Specified by:
isRemovalPending in interface ManagedPackageMBean
Returns:
true if the associated package is being exported by a bundle that has been updated or uninstalled.
See Also:
ExportedPackage


Copyright © 2011 Apache Software Foundation. All Rights Reserved.