com.programix.command
Class DelegatingCommandProcessor
java.lang.Object
com.programix.command.DelegatingCommandProcessor
- All Implemented Interfaces:
- CommandProcessor
public abstract class DelegatingCommandProcessor
- extends Object
- implements CommandProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingCommandProcessor
public DelegatingCommandProcessor()
init
public final void init(ValueMap config)
throws CommandException
- Specified by:
init in interface CommandProcessor
- Throws:
CommandException
customInit
protected void customInit(ValueMap config)
throws CommandException
- Overridden in subclasses that need to perform any custom
initialization.
- Parameters:
config - the configuration settings
- Throws:
CommandException - subclasses can throw this to indicate trouble
close
public final void close()
- Specified by:
close in interface CommandProcessor
customClose
protected void customClose()
delegate
public final void delegate(Class<? extends CommandRequest> requestClass,
CommandProcessor handler)
process
public final CommandResponse process(CommandRequest req)
throws CommandException
- Specified by:
process in interface CommandProcessor
- Throws:
CommandException
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.