public final class ProcessController extends Object
Constructor and Description |
---|
ProcessController(ProtocolServer.Configuration configuration,
PrintStream stdout,
PrintStream stderr) |
Modifier and Type | Method and Description |
---|---|
void |
addProcess(String processName,
List<String> command,
Map<String,String> env,
String workingDirectory,
boolean isPrivileged,
boolean respawn) |
ProtocolServer |
getServer() |
org.jboss.as.process.ManagedProcess |
getServerByAuthCode(byte[] code) |
void |
removeProcess(String processName) |
void |
sendReconnectProcess(String processName,
String hostName,
int port,
boolean managementSubsystemEndpoint,
byte[] asAuthKey) |
void |
sendStdin(String recipient,
InputStream source) |
void |
shutdown() |
void |
startProcess(String processName) |
void |
stopProcess(String processName) |
public ProcessController(ProtocolServer.Configuration configuration, PrintStream stdout, PrintStream stderr) throws IOException
IOException
public void addProcess(String processName, List<String> command, Map<String,String> env, String workingDirectory, boolean isPrivileged, boolean respawn)
public void startProcess(String processName)
public void stopProcess(String processName)
public void removeProcess(String processName)
public void sendStdin(String recipient, InputStream source) throws IOException
IOException
public void shutdown()
public org.jboss.as.process.ManagedProcess getServerByAuthCode(byte[] code)
public void sendReconnectProcess(String processName, String hostName, int port, boolean managementSubsystemEndpoint, byte[] asAuthKey)
public ProtocolServer getServer()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.