org.apache.avalon.fortress.impl.handler
Class PrepareHandlerCommand
java.lang.Object
org.apache.avalon.fortress.impl.handler.PrepareHandlerCommand
- All Implemented Interfaces:
- Command, Executable, Signal
- public final class PrepareHandlerCommand
- extends java.lang.Object
- implements Command
This is the command class to initialize a ComponentHandler
- Version:
- CVS $Revision: 1.12 $ $Date: 2004/02/28 15:16:25 $
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_handler
private final ComponentHandler m_handler
-
m_logger
private final Logger m_logger
-
PrepareHandlerCommand
public PrepareHandlerCommand(ComponentHandler handler,
Logger logger)
-
Creation of a new prepare handler command.
- Parameters:
handler - the compoent handler
logger - the logging channel
getHandler
public ComponentHandler getHandler()
-
Returns a reference to the ComponentHandler being prepared.
-
-
- Returns:
- The ComponentHandler.
execute
public void execute()
throws java.lang.Exception
-
Invoke execution of the handler
-
- Specified by:
execute in interface Executable
-
- Throws:
java.lang.Exception - if a handler execution exception occurs
Please see keelframework.org for information about new Keel releases.