public class ContainerProcessManagerService extends java.lang.Object implements ContainerProcessManagerServiceMBean
| Constructor and Description |
|---|
ContainerProcessManagerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindMBeanServer(javax.management.MBeanServer mbeanServer) |
FabricService |
getFabricService() |
Installation |
install(ContainerInstallOptions options,
InstallTask postInstall)
Installs a process with an optional URL of the controller JSON
together with an optional install step
|
Installation |
installJar(ContainerInstallOptions options)
Installs an executable jar as a new managed process
|
com.google.common.collect.ImmutableMap<java.lang.Integer,Installation> |
listInstallationMap(ContainerInstallOptions options) |
java.util.List<Installation> |
listInstallations(ContainerInstallOptions options)
Returns the current installed processes which may or may not be running right now
|
void |
registerMBeanServer(javax.management.MBeanServer mbeanServer) |
void |
setFabricService(FabricService fabricService) |
void |
unbindMBeanServer(javax.management.MBeanServer mbeanServer) |
void |
unregisterMBeanServer(javax.management.MBeanServer mbeanServer) |
public ContainerProcessManagerService()
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameExceptionpublic void bindMBeanServer(javax.management.MBeanServer mbeanServer)
public void unbindMBeanServer(javax.management.MBeanServer mbeanServer)
public void registerMBeanServer(javax.management.MBeanServer mbeanServer)
public void unregisterMBeanServer(javax.management.MBeanServer mbeanServer)
public FabricService getFabricService()
public void setFabricService(FabricService fabricService)
public java.util.List<Installation> listInstallations(ContainerInstallOptions options)
ContainerProcessManagerlistInstallations in interface ContainerProcessManagerpublic Installation install(ContainerInstallOptions options, InstallTask postInstall) throws java.lang.Exception
ContainerProcessManagerinstall in interface ContainerProcessManagerjava.lang.Exceptionpublic Installation installJar(ContainerInstallOptions options) throws java.lang.Exception
ContainerProcessManagerinstallJar in interface ContainerProcessManagerjava.lang.Exceptionpublic com.google.common.collect.ImmutableMap<java.lang.Integer,Installation> listInstallationMap(ContainerInstallOptions options)
listInstallationMap in interface ContainerProcessManagerCopyright © 2014 Red Hat. All Rights Reserved.