public void begin(String namespace, String name, Attributes attributes) throws Exception { DataSourceConfig dsc = (DataSourceConfig) digester.peek(); dsc.addProperty(attributes.getValue("property"), attributes.getValue("value")); }