org.apache.geronimo.system.configuration
Class DependencyManager
java.lang.Object
org.apache.geronimo.system.configuration.DependencyManager
- All Implemented Interfaces:
- EventListener, GBeanLifecycle, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener
@GBean
@OsgiService
public class DependencyManager
- extends Object
- implements org.osgi.framework.SynchronousBundleListener, GBeanLifecycle
- Version:
- $Rev: 1166971 $ $Date: 2011-09-09 10:43:42 +0800 (Fri, 09 Sep 2011) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyManager
public DependencyManager(@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext,
@ParamReference(name="Repositories",namingType="Repository")
Collection<Repository> repositories,
@ParamReference(name="ArtifactResolver",namingType="ArtifactResolver")
ArtifactResolver artifactResolver)
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent bundleEvent)
- Specified by:
bundleChanged in interface org.osgi.framework.BundleListener
getExportedPackages
public Set<org.apache.xbean.osgi.bundle.util.BundleDescription.ExportPackage> getExportedPackages(org.osgi.framework.Bundle bundle)
getExportedPackages
public Set<org.apache.xbean.osgi.bundle.util.BundleDescription.ExportPackage> getExportedPackages(Long bundleId)
getDependentBundles
public List<org.osgi.framework.Bundle> getDependentBundles(org.osgi.framework.Bundle bundle)
getDependentBundleIds
public Set<Long> getDependentBundleIds(org.osgi.framework.Bundle bundle)
getFullDependentBundles
public Set<org.osgi.framework.Bundle> getFullDependentBundles(org.osgi.framework.Bundle bundle)
getFullDependentBundles
public Set<org.osgi.framework.Bundle> getFullDependentBundles(Long bundleId)
getFullDependentBundleIds
public Set<Long> getFullDependentBundleIds(org.osgi.framework.Bundle bundle)
getFullDependentBundleIds
public Set<Long> getFullDependentBundleIds(Long bundleId)
getBundle
public org.osgi.framework.Bundle getBundle(Artifact artifact)
getArtifact
public Artifact getArtifact(long bundleId)
toArtifact
public Artifact toArtifact(String installationLocation)
updatePluginMetadata
public void updatePluginMetadata(org.osgi.framework.Bundle bundle)
updatePluginMetadata
public static void updatePluginMetadata(org.osgi.framework.BundleContext bundleContext,
org.osgi.framework.Bundle bundle)
getCachedPluginMetadata
public PluginArtifactType getCachedPluginMetadata(org.osgi.framework.Bundle bundle)
installed
public void installed(org.osgi.framework.Bundle bundle)
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.