org.apache.geronimo.system.configuration
Class DependencyManager
java.lang.Object
org.apache.geronimo.system.configuration.DependencyManager
- All Implemented Interfaces:
- java.util.EventListener, GBeanLifecycle, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener
@GBean
@OsgiService
public class DependencyManager
- extends java.lang.Object
- implements org.osgi.framework.SynchronousBundleListener, GBeanLifecycle
- Version:
- $Rev: 1331657 $ $Date: 2012-04-28 10:17:12 +0800 (Sat, 28 Apr 2012) $
| 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")
java.util.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 java.util.Set<org.apache.xbean.osgi.bundle.util.BundleDescription.ExportPackage> getExportedPackages(org.osgi.framework.Bundle bundle)
getExportedPackages
public java.util.Set<org.apache.xbean.osgi.bundle.util.BundleDescription.ExportPackage> getExportedPackages(java.lang.Long bundleId)
getDependentBundles
public java.util.List<org.osgi.framework.Bundle> getDependentBundles(org.osgi.framework.Bundle bundle)
getDependentBundleIds
public java.util.Set<java.lang.Long> getDependentBundleIds(org.osgi.framework.Bundle bundle)
getFullDependentBundles
public java.util.Set<org.osgi.framework.Bundle> getFullDependentBundles(org.osgi.framework.Bundle bundle)
getFullDependentBundles
public java.util.Set<org.osgi.framework.Bundle> getFullDependentBundles(java.lang.Long bundleId)
getFullDependentBundleIds
public java.util.Set<java.lang.Long> getFullDependentBundleIds(org.osgi.framework.Bundle bundle)
getFullDependentBundleIds
public java.util.Set<java.lang.Long> getFullDependentBundleIds(java.lang.Long bundleId)
getBundle
public org.osgi.framework.Bundle getBundle(Artifact artifact)
getArtifact
public Artifact getArtifact(long bundleId)
toArtifact
public Artifact toArtifact(java.lang.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 java.lang.Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
java.lang.Exception
doStop
public void doStop()
throws java.lang.Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
java.lang.Exception
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.