public abstract class AbstractCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
command |
protected StreamManager |
streamManager |
Constructor and Description |
---|
AbstractCommand() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(java.lang.String cmd) |
<T> T |
lookup(java.lang.Class<T> clazz,
java.lang.String jndiName) |
void |
setCommand(java.lang.String command) |
void |
setStreamManager(StreamManager streamManager) |
protected StreamManager streamManager
protected java.lang.String command
public abstract void execute(java.lang.String cmd)
public void setStreamManager(StreamManager streamManager)
public void setCommand(java.lang.String command)
public <T> T lookup(java.lang.Class<T> clazz, java.lang.String jndiName) throws javax.naming.NamingException
javax.naming.NamingException