first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package org.apache.struts.config;
|
||||
|
||||
import org.apache.commons.digester.Rule;
|
||||
import org.xml.sax.Attributes;
|
||||
|
||||
final class AddDataSourcePropertyRule extends Rule {
|
||||
public void begin(Attributes attributes) throws Exception {
|
||||
DataSourceConfig dsc = (DataSourceConfig)this.digester.peek();
|
||||
dsc.addProperty(attributes.getValue("property"), attributes.getValue("value"));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user