public class SystemDeployerService extends Object implements DeployerService
DeployerService
that installs/uninstalls the bundles directly on the OSGi framework.Constructor and Description |
---|
SystemDeployerService(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.Bundle |
deploy(Deployment dep)
Deploy a bundle
|
void |
deploy(Deployment[] depArr)
Deploy an array of bundles
|
protected org.osgi.framework.Bundle |
installBundle(Deployment dep) |
org.osgi.framework.Bundle |
undeploy(Deployment dep)
Undeploy a bundle
|
void |
undeploy(Deployment[] depArr)
Undeploy an array of bundles
|
protected void |
uninstallBundle(Deployment dep,
org.osgi.framework.Bundle bundle) |
public SystemDeployerService(org.osgi.framework.BundleContext context)
public org.osgi.framework.Bundle deploy(Deployment dep) throws org.osgi.framework.BundleException
DeployerService
deploy
in interface DeployerService
org.osgi.framework.BundleException
public org.osgi.framework.Bundle undeploy(Deployment dep) throws org.osgi.framework.BundleException
DeployerService
undeploy
in interface DeployerService
org.osgi.framework.BundleException
public void deploy(Deployment[] depArr) throws org.osgi.framework.BundleException
DeployerService
deploy
in interface DeployerService
org.osgi.framework.BundleException
public void undeploy(Deployment[] depArr) throws org.osgi.framework.BundleException
DeployerService
undeploy
in interface DeployerService
org.osgi.framework.BundleException
protected org.osgi.framework.Bundle installBundle(Deployment dep) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
protected void uninstallBundle(Deployment dep, org.osgi.framework.Bundle bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.