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.MalformedObjectNameException
public 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)
ContainerProcessManager
listInstallations
in interface ContainerProcessManager
public Installation install(ContainerInstallOptions options, InstallTask postInstall) throws java.lang.Exception
ContainerProcessManager
install
in interface ContainerProcessManager
java.lang.Exception
public Installation installJar(ContainerInstallOptions options) throws java.lang.Exception
ContainerProcessManager
installJar
in interface ContainerProcessManager
java.lang.Exception
public com.google.common.collect.ImmutableMap<java.lang.Integer,Installation> listInstallationMap(ContainerInstallOptions options)
listInstallationMap
in interface ContainerProcessManager
Copyright © 2014 Red Hat. All Rights Reserved.