public class CliRunnable
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXIT_COMMAND |
java.lang.String |
lineSep |
static java.lang.String |
OPENEJB_NAME |
static java.lang.String |
TOMEE_NAME |
Constructor and Description |
---|
CliRunnable(java.lang.String bind,
int port) |
CliRunnable(java.lang.String bind,
int port,
java.lang.String username,
java.lang.String sep) |
Modifier and Type | Method and Description |
---|---|
void |
clean() |
void |
destroy() |
void |
run() |
void |
setErrorStream(java.io.OutputStream err) |
void |
setInputStream(java.io.InputStream in) |
void |
setOutputStream(java.io.OutputStream out) |
void |
setUsername(java.lang.String username) |
void |
start() |
public static final java.lang.String TOMEE_NAME
public static final java.lang.String OPENEJB_NAME
public static final java.lang.String EXIT_COMMAND
public java.lang.String lineSep
public CliRunnable(java.lang.String bind, int port)
public CliRunnable(java.lang.String bind, int port, java.lang.String username, java.lang.String sep)
public void setUsername(java.lang.String username)
public void setInputStream(java.io.InputStream in)
public void setOutputStream(java.io.OutputStream out)
public void setErrorStream(java.io.OutputStream err)
public void start() throws java.io.IOException
java.io.IOException
public void destroy()
public void clean()
public void run()
run
in interface java.lang.Runnable