henplus
Class EchoCommandProperty
java.lang.Object
henplus.property.PropertyHolder
henplus.property.EnumeratedPropertyHolder
henplus.property.BooleanPropertyHolder
henplus.EchoCommandProperty
- All Implemented Interfaces:
- ExecutionListener, EventListener
public final class EchoCommandProperty
- extends BooleanPropertyHolder
- implements ExecutionListener
The Property echo-commands that simply registers itself at the
command dispatcher to echo the commands it is executing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoCommandProperty
public EchoCommandProperty(CommandDispatcher disp)
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValue
in class PropertyHolder
booleanPropertyChanged
public void booleanPropertyChanged(boolean echoCommands)
- Description copied from class:
BooleanPropertyHolder
- to be overridden to get informed of the boolean change. Throw
an Exception if this change is not possible.
- Specified by:
booleanPropertyChanged
in class BooleanPropertyHolder
getShortDescription
public String getShortDescription()
- Description copied from class:
PropertyHolder
- return a short string describing the purpose of this property
Should contain no newline, no leading spaces and should not be
longer than 40 characters.
- Overrides:
getShortDescription
in class PropertyHolder
beforeExecution
public void beforeExecution(SQLSession session,
String command)
- Description copied from interface:
ExecutionListener
- called before an command is to be executed.
- Specified by:
beforeExecution
in interface ExecutionListener
afterExecution
public void afterExecution(SQLSession session,
String command,
int result)
- Description copied from interface:
ExecutionListener
- called after a command is executed.
- Specified by:
afterExecution
in interface ExecutionListener
? 1997..2006 Henner Zeller