public class JMXBundleDeployer
extends java.lang.Object
| Constructor and Description |
|---|
JMXBundleDeployer() |
JMXBundleDeployer(int port) |
JMXBundleDeployer(java.lang.String serviceURL) |
| Modifier and Type | Method and Description |
|---|---|
long |
deploy(java.lang.String bsn,
java.io.File bundle)
Gets the current list of installed bsns, compares it to the bsn provided.
|
org.osgi.framework.dto.BundleDTO[] |
listBundles()
Calls osgi.core bundleState MBean listBundles operation
|
void |
uninstall(long id)
Calls through directly to the OSGi frameworks MBean uninstallBundle
operation
|
void |
uninstall(java.lang.String bsn)
Uninstall a bundle by passing in its Bundle-SymbolicName.
|
public JMXBundleDeployer()
public JMXBundleDeployer(int port)
public JMXBundleDeployer(java.lang.String serviceURL)
public long deploy(java.lang.String bsn,
java.io.File bundle)
throws java.lang.Exception
bsn - Bundle-SymbolicName of bundle you are wanting to deploybundle - the bundlejava.lang.Exceptionpublic org.osgi.framework.dto.BundleDTO[] listBundles()
public void uninstall(java.lang.String bsn)
throws java.lang.Exception
bsn - bundle symbolic namejava.lang.Exceptionpublic void uninstall(long id)
throws java.lang.Exception
id - id of bundle to uninstalljava.lang.ExceptionCopyright (c) aQute SARL (2000, 2019) and others. All Rights Reserved.