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(org.osgi.framework.BundleContext context)
           
 
Method Summary
 org.osgi.framework.Bundle deploy(Deployment dep)
          Deploy a bundle
 void deploy(Deployment[] depArr)
          Deploy an array of bundles
protected  org.osgi.framework.Bundle installBundleInternal(Deployment dep)
           
 org.osgi.framework.Bundle undeploy(Deployment dep)
          Undeploy a bundle
 void undeploy(Deployment[] depArr)
          Undeploy an array of bundles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemDeployerService

public SystemDeployerService(org.osgi.framework.BundleContext context)
Method Detail

deploy

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

Specified by:
deploy in interface DeployerService
Throws:
org.osgi.framework.BundleException

undeploy

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

Specified by:
undeploy in interface DeployerService
Throws:
org.osgi.framework.BundleException

deploy

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

Specified by:
deploy in interface DeployerService
Throws:
org.osgi.framework.BundleException

undeploy

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

Specified by:
undeploy in interface DeployerService
Throws:
org.osgi.framework.BundleException

installBundleInternal

protected org.osgi.framework.Bundle installBundleInternal(Deployment dep)
                                                   throws org.osgi.framework.BundleException
Throws:
org.osgi.framework.BundleException


Copyright © 2010. All Rights Reserved.