org.apache.struts.config
public class PlugInConfig extends java.lang.Object implements java.io.Serializable
A JavaBean representing the configuration information of a
<plug-in>
element in a Struts
configuration file.
Modifier and Type | Field and Description |
---|---|
protected java.lang.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 java.util.Map |
properties
A
Map of the name-value pairs that will be used to
configure the property values of a PlugIn instance. |
Constructor and Description |
---|
PlugInConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String name,
java.lang.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.
|
java.lang.String |
getClassName() |
java.util.Map |
getProperties()
Return the properties that will be used to configure a
PlugIn instance. |
void |
setClassName(java.lang.String className) |
protected boolean configured
protected java.util.Map properties
Map
of the name-value pairs that will be used to
configure the property values of a PlugIn
instance.protected java.lang.String className
PlugIn
implementation class being configured.public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public void addProperty(java.lang.String name, java.lang.String value)
PlugIn
instance.name
- Property namevalue
- Property valuepublic void freeze()
public java.util.Map getProperties()
PlugIn
instance.Copyright ? 2000-2014 - The Apache Software Foundation