org.jboss.osgi.deployment.deployer
Class SystemDeployerService

java.lang.Object
  extended by org.jboss.osgi.deployment.deployer.SystemDeployerService
All Implemented Interfaces:
DeployerService

public class SystemDeployerService
extends Object
implements DeployerService

A DeployerService that installs/uninstalls the bundles directly on the OSGi framework.

Since:
27-May-2009
Author:
thomas.diesler@jboss.com

Constructor Summary
SystemDeployerService(BundleContext context)
           
 
Method Summary
 Bundle deploy(Deployment dep)
          Deploy a bundle
 void deploy(Deployment[] depArr)
          Deploy an array of bundles
protected  Bundle installBundle(Deployment dep)
           
 Bundle undeploy(Deployment dep)
          Undeploy a bundle
 void undeploy(Deployment[] depArr)
          Undeploy an array of bundles
protected  void uninstallBundle(Deployment dep, Bundle bundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemDeployerService

public SystemDeployerService(BundleContext context)
Method Detail

deploy

public Bundle deploy(Deployment dep)
              throws BundleException
Description copied from interface: DeployerService
Deploy a bundle

Specified by:
deploy in interface DeployerService
Throws:
BundleException

undeploy

public Bundle undeploy(Deployment dep)
                throws BundleException
Description copied from interface: DeployerService
Undeploy a bundle

Specified by:
undeploy in interface DeployerService
Throws:
BundleException

deploy

public void deploy(Deployment[] depArr)
            throws BundleException
Description copied from interface: DeployerService
Deploy an array of bundles

Specified by:
deploy in interface DeployerService
Throws:
BundleException

undeploy

public void undeploy(Deployment[] depArr)
              throws BundleException
Description copied from interface: DeployerService
Undeploy an array of bundles

Specified by:
undeploy in interface DeployerService
Throws:
BundleException

installBundle

protected Bundle installBundle(Deployment dep)
                        throws BundleException
Throws:
BundleException

uninstallBundle

protected void uninstallBundle(Deployment dep,
                               Bundle bundle)
                        throws BundleException
Throws:
BundleException


Copyright © 2011. All Rights Reserved.