org.jboss.osgi.deployment.deployer
Interface DeploymentRegistryService


public interface DeploymentRegistryService

A Service to register/unregister bundle deployments.

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

Method Summary
 Deployment getDeployment(java.lang.String symbolicName, Version version)
          Get the bundle deployment for the given bundle symbolicName and version
 Deployment getDeployment(java.net.URL url)
          Get the bundle deployment for the given bundle URL
 java.util.List<Deployment> getDeployments()
          Get the list of registered deployments.
 void registerDeployment(Deployment dep)
          Register a bundle deployment
 void unregisterDeployment(Deployment dep)
          Unregister a bundle deployment
 

Method Detail

getDeployments

java.util.List<Deployment> getDeployments()
Get the list of registered deployments.

Returns:
An empty list if this service does not maintain any bundle deployments

getDeployment

Deployment getDeployment(java.net.URL url)
Get the bundle deployment for the given bundle URL

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

getDeployment

Deployment getDeployment(java.lang.String symbolicName,
                         Version version)
Get the bundle deployment for the given bundle symbolicName and version

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

registerDeployment

void registerDeployment(Deployment dep)
Register a bundle deployment


unregisterDeployment

void unregisterDeployment(Deployment dep)
Unregister a bundle deployment



Copyright © 2009. All Rights Reserved.