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(BundleInfo info)
          Create a deployment from the given bundle info.
 Deployment createDeployment(URL url)
          Create a deployment from the given location.
 Deployment createDeployment(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(URL url)
                            throws BundleException
Create a deployment from the given location.

Throws:
BundleException

createDeployment

Deployment createDeployment(VirtualFile file)
                            throws BundleException
Create a deployment from the given file.

Throws:
BundleException

createDeployment

Deployment createDeployment(BundleInfo info)
                            throws BundleException
Create a deployment from the given bundle info.

Throws:
BundleException

deploy

void deploy(Deployment[] bundleDeps)
            throws BundleException
Deploy an array of bundles

Throws:
BundleException

undeploy

void undeploy(Deployment[] bundleDeps)
              throws BundleException
Undeploy an array of bundles

Throws:
BundleException


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.