org.jboss.osgi.spi.service
Interface DeploymentRegistryService


public interface DeploymentRegistryService

A Service to register/unregister bundle deployments.

Since:
08-Jul-2009
Author:
thomas.diesler@jboss.com

Method Summary
 BundleDeployment getBundleDeployment(java.lang.String symbolicName, org.osgi.framework.Version version)
          Get the bundle deployment for the given bundle symbolicName and version
 BundleDeployment getBundleDeployment(java.net.URL url)
          Create a bundle deployment from the given bundle URL
 void registerBundleDeployment(BundleDeployment dep)
          Register a bundle deployment
 void unregisterBundleDeployment(BundleDeployment dep)
          Unregister a bundle deployment
 

Method Detail

getBundleDeployment

BundleDeployment getBundleDeployment(java.net.URL url)
Create a bundle deployment from the given bundle URL

Returns:
null, if this service does not maintain the bundle deployment

getBundleDeployment

BundleDeployment getBundleDeployment(java.lang.String symbolicName,
                                     org.osgi.framework.Version version)
Get the bundle deployment for the given bundle symbolicName and version

Returns:
null, if this service does not maintain the bundle deployment

registerBundleDeployment

void registerBundleDeployment(BundleDeployment dep)
Register a bundle deployment


unregisterBundleDeployment

void unregisterBundleDeployment(BundleDeployment dep)
Unregister a bundle deployment



Copyright © 2009. All Rights Reserved.