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 Object
implements Command

This is the command class to initialize a ComponentHandler

Version:
CVS $Revision: 1.9 $ $Date: 2003/04/18 20:02:29 $
Author:
Avalon Development Team

Constructor Summary
PrepareHandlerCommand(ComponentHandler handler, Logger logger)
          Creation of a new prepare handler command.
 
Method Summary
 void execute()
          Invoke execution of the handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrepareHandlerCommand

public PrepareHandlerCommand(ComponentHandler handler,
                             Logger logger)
Creation of a new prepare handler command.

Parameters:
handler - the compoent handler
logger - the logging channel
Method Detail

execute

public void execute()
             throws Exception
Invoke execution of the handler

Specified by:
execute in interface Executable
Throws:
Exception - if a handler execution exception occurs


Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.