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
DeployerServicedeploy in interface DeployerServiceorg.osgi.framework.BundleExceptionpublic org.osgi.framework.Bundle undeploy(Deployment dep) throws org.osgi.framework.BundleException
DeployerServiceundeploy in interface DeployerServiceorg.osgi.framework.BundleExceptionpublic void deploy(Deployment[] depArr) throws org.osgi.framework.BundleException
DeployerServicedeploy in interface DeployerServiceorg.osgi.framework.BundleExceptionpublic void undeploy(Deployment[] depArr) throws org.osgi.framework.BundleException
DeployerServiceundeploy in interface DeployerServiceorg.osgi.framework.BundleExceptionprotected org.osgi.framework.Bundle installBundle(Deployment dep) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected void uninstallBundle(Deployment dep, org.osgi.framework.Bundle bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.