org.jboss.osgi.deployment.deployer
Interface DeployerService

All Known Implementing Classes:
AbstractDeployerService

public interface DeployerService

A Service that can be used to deploy/undeploy bundles or archives to/from the runtime.

Since:
23-Jan-2009
Author:
thomas.diesler@jboss.com

Method Summary
 Deployment createDeployment(org.jboss.osgi.spi.util.BundleInfo info)
          Create a deployment from the given bundle info.
 Deployment createDeployment(java.net.URL url)
          Create a deployment from the given location.
 Deployment createDeployment(org.jboss.osgi.vfs.VirtualFile file)
          Create a deployment from the given file.
 void deploy(Deployment[] bundleDeps)
          Deploy an array of bundles
 void undeploy(Deployment[] bundleDeps)
          Undeploy an array of bundles
 

Method Detail

createDeployment

Deployment createDeployment(java.net.URL url)
                            throws org.osgi.framework.BundleException
Create a deployment from the given location.

Throws:
org.osgi.framework.BundleException

createDeployment

Deployment createDeployment(org.jboss.osgi.vfs.VirtualFile file)
                            throws org.osgi.framework.BundleException
Create a deployment from the given file.

Throws:
org.osgi.framework.BundleException

createDeployment

Deployment createDeployment(org.jboss.osgi.spi.util.BundleInfo info)
                            throws org.osgi.framework.BundleException
Create a deployment from the given bundle info.

Throws:
org.osgi.framework.BundleException

deploy

void deploy(Deployment[] bundleDeps)
            throws org.osgi.framework.BundleException
Deploy an array of bundles

Throws:
org.osgi.framework.BundleException

undeploy

void undeploy(Deployment[] bundleDeps)
              throws org.osgi.framework.BundleException
Undeploy an array of bundles

Throws:
org.osgi.framework.BundleException


Copyright © 2010. All Rights Reserved.