}
child = configPropertyBean.getChildBean("config-property-name");
if (child.length == 1) {
setConfigPropertyName(child[0]);
}
configPropertyBean.addXpathListener("config-property-type", typeListener = new XpathListener() {
public void fireXpathEvent(XpathEvent xpe) {
if (xpe.isChangeEvent() || xpe.isAddEvent()) {
setConfigPropertyType(xpe.getBean());
} else if (xpe.isRemoveEvent()) {
setConfigPropertyType((String) null);
}
}
});
configPropertyBean.addXpathListener("config-property-name", nameListener = new XpathListener() {
public void fireXpathEvent(XpathEvent xpe) {
if (xpe.isChangeEvent() || xpe.isAddEvent()) {
setConfigPropertyName(xpe.getBean());
} else if (xpe.isRemoveEvent()) {
setConfigPropertyName((String) null);