first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
package org.apache.struts.config;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
public class PlugInConfig implements Serializable {
protected boolean configured = false;
protected Map properties = new HashMap();
protected String className = null;
public String getClassName() {
return this.className;
}
public void setClassName(String className) {
this.className = className;
}
public void addProperty(String name, String value) {
if (this.configured)
throw new IllegalStateException("Configuration is frozen");
this.properties.put(name, value);
}
public void freeze() {
this.configured = true;
}
public Map getProperties() {
return this.properties;
}
}