org.apache.struts.config
Class PlugInConfig
java.lang.Object
org.apache.struts.config.PlugInConfig
- Serializable
public class PlugInConfig
extends java.lang.Object
implements Serializable
A JavaBean representing the configuration information of a
<plug-in>
element in a Struts
configuration file.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $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.
|
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)
|
className
protected String className
The fully qualified Java class name of the PlugIn
implementation class being configured.
configured
protected boolean configured
Has this component been completely configured?
properties
protected Map properties
A Map
of the name-value pairs that will be used to
configure the property values of a PlugIn
instance.
addProperty
public 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.
name
- Property namevalue
- Property value
freeze
public void freeze()
Freeze the configuration of this component.
getClassName
public String getClassName()
getProperties
public Map getProperties()
Return the properties that will be used to configure a
PlugIn
instance.
setClassName
public void setClassName(String className)
Copyright B) 2000-2007 - The Apache Software Foundation