public interface DeploymentServiceMBean
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
deployBundle(java.lang.String bundleLocation,
int startLevel)
Install and start a bundle.
|
java.lang.String[] |
installBundle(java.lang.String bundleLocation,
int startLevel)
Install a bundle.
|
java.lang.String[] |
installManagementAgentBundle(java.lang.String bundleLocation)
Install a management agent bundle.
|
java.util.List<java.util.Map<java.lang.String,java.io.Serializable>> |
listDeployedBundles()
List deployed bundles.
|
void |
startBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
Start a bundle.
|
void |
stopBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
Stop a bundle.
|
void |
undeployBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
Stop and uninstall a bundle.
|
void |
uninstallBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
Uninstall a bundle.
|
void |
updateBundle(java.lang.String bundleName,
java.lang.String bundleVersion,
java.lang.String bundleLocation)
Update a bundle.
|
java.lang.String[] deployBundle(java.lang.String bundleLocation,
int startLevel)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleLocation - the path of the file which will be deployedstartLevel - the startLevel assigned to the bundlejavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionvoid undeployBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleName - the name of the bundle which will be undeployedbundleVersion - the version of the bundle which will be undeployedjavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionjava.lang.String[] installBundle(java.lang.String bundleLocation,
int startLevel)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleLocation - the path of the file which will be installedstartLevel - the startLevel assigned to the bundlejavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionjava.lang.String[] installManagementAgentBundle(java.lang.String bundleLocation)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleLocation - the path of the file which will be installedjavax.management.MBeanException - MBean exception occurred.javax.management.OperationsException - Operations exception occurred.javax.management.RuntimeOperationsException - Runtime operations exception occurred.void startBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleName - the name of the bundle which will be startedbundleVersion - the version of the bundle which will be startedjavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionvoid stopBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleName - the name of the bundle which will be stopedbundleVersion - the version of the bundle which will be stopedjavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionvoid uninstallBundle(java.lang.String bundleName,
java.lang.String bundleVersion)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleName - the name of the bundle which will be uninstalledbundleVersion - the version of the bundle which will be uninstalledjavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionvoid updateBundle(java.lang.String bundleName,
java.lang.String bundleVersion,
java.lang.String bundleLocation)
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
bundleName - the name of the bundle which will be updatedbundleVersion - the version of the bundle which will be updatedbundleLocation - the path of the file which will be used to updatejavax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsExceptionjava.util.List<java.util.Map<java.lang.String,java.io.Serializable>> listDeployedBundles()
throws javax.management.MBeanException,
javax.management.OperationsException,
javax.management.RuntimeOperationsException
javax.management.MBeanExceptionjavax.management.OperationsExceptionjavax.management.RuntimeOperationsException