public class JvmLauncherRequest extends Object
| Constructor and Description |
|---|
JvmLauncherRequest(boolean server,
Loggable loggable)
Creates a new JVM launch request with the specified properties.
|
JvmLauncherRequest(boolean server,
Loggable loggable,
boolean ssh)
Creates a new JVM launch request with the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
Loggable |
getLoggable()
Gets the object to forward all logging to.
|
boolean |
isServer()
Indicates whether the launched JVM denotes a server process or just some (usually
short-lived) client/utility process.
|
boolean |
isSsh()
Indicates whether the JVM should be launched on a remote host via SSH or on the local
machine.
|
public JvmLauncherRequest(boolean server,
Loggable loggable)
server - true to launch a server process, false to launch a
client/utility process.loggable - The object to forward all logging to, must not be null.public JvmLauncherRequest(boolean server,
Loggable loggable,
boolean ssh)
server - true to launch a server process, false to launch a
client/utility process.loggable - The object to forward all logging to, must not be null.ssh - true to launch a remote JVM via SSH, false to launch a local JVM.public boolean isServer()
true to launch a server process, false to launch a client/utility
process.public Loggable getLoggable()
null.public boolean isSsh()
true to launch a remote JVM, false to launch a local JVM.Copyright © 2004-2013 Codehaus. All Rights Reserved.