org.apache.struts.config
public class PlugInConfig extends Object implements Serializable
A JavaBean representing the configuration information of a
<plug-in> element in a Struts
configuration file.
Since: Struts 1.1
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| protected String | className
The fully qualified Java class name of the PlugIn
implementation class being configured. |
| protected boolean | configured
Has this component been completely configured? |
| protected Map | properties
A Map of the name-value pairs that will be used to
configure the property values of a PlugIn instance. |
| Method Summary | |
|---|---|
| void | addProperty(String name, String value)
Add a new property name and value to the set that will be used to
configure the PlugIn instance.
|
| void | freeze()
Freeze the configuration of this component. |
| String | getClassName() |
| Map | getProperties()
Return the properties that will be used to configure a
PlugIn instance. |
| void | setClassName(String className) |
PlugIn
implementation class being configured.Map of the name-value pairs that will be used to
configure the property values of a PlugIn instance.PlugIn instance.
Parameters: name Property name value Property value
PlugIn instance.