public class OldToolInfo extends ToolInfo
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
init |
static java.lang.String |
INIT_METHOD_NAME |
private static long |
serialVersionUID |
CONFIGURE_METHOD_NAME
Constructor and Description |
---|
OldToolInfo(java.lang.String key,
java.lang.Class clazz)
Creates a new instance using the minimum required info
necessary for a tool.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure(java.lang.Object tool,
java.util.Map<java.lang.String,java.lang.Object> configuration)
Actually performs configuration of the newly instantiated tool
using the combined final set of configuration properties.
|
protected java.lang.reflect.Method |
getInit() |
void |
setClass(java.lang.Class clazz)
Tries to create an instance of the specified Class, then looks for a
configure(Map
|
addProperties, combine, create, getClassname, getConfigure, getKey, getProperties, getProps, getToolClass, hasConfigure, hasPermission, invoke, isSkipSetters, newInstance, putProperty, restrictTo, setKey, setProperty, setSkipSetters
private static final long serialVersionUID
public static final java.lang.String INIT_METHOD_NAME
private transient java.lang.reflect.Method init
public OldToolInfo(java.lang.String key, java.lang.Class clazz)
protected java.lang.reflect.Method getInit()
public void setClass(java.lang.Class clazz)
ToolInfo
protected void configure(java.lang.Object tool, java.util.Map<java.lang.String,java.lang.Object> configuration)
ToolInfo
SkipSetters
annotation, then any
specific setters matching the configuration keys are called, then
the general configure(Map) method (if any) is called.Copyright (c) 2003-2007 Apache Software Foundation