org.apache.turbine.services.pull
Interface ApplicationTool
- All Known Implementing Classes:
- IntakeTool, LocalizationTool, OMTool, UIManager, ContentURI, TemplateLink, TemplatePageAttributes, RelativeTemplateLink
- public interface ApplicationTool
Tools that go into the Toolbox should implement this interface.
- Version:
- $Id: ApplicationTool.java,v 1.1.1.1 2001/08/16 05:09:10 jvanzyl Exp $
- Author:
- Jason van Zyl
Method Summary |
void |
init(java.lang.Object data)
Initialize the application tool. |
void |
refresh()
Refresh the application tool. |
init
public void init(java.lang.Object data)
- Initialize the application tool. The data parameter holds a different
type depending on how the tool is being instantiated:
- For global tools data will be null
- For request tools data will be of type RunData
- For session and persistent tools data will be of type User
- Parameters:
data
- initialization data
refresh
public void refresh()
- Refresh the application tool. This is
necessary for development work where you
probably want the tool to refresh itself
if it is using configuration information
that is typically cached after initialization
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.