/** * @return an @see java.util.Enumeration of entries in this abstract * archive */ public Enumeration entries() { return deployObject.entries(); }
void dispose() { if (ddBean != null) { ddBean.removeXpathListener("config-property-type", typeListener); ddBean.removeXpathListener("config-property-name", nameListener); } nameListener = null; typeListener = null; ddBean = null; }
public void fireXpathEvent(XpathEvent xpe) { if (xpe.isChangeEvent() || xpe.isAddEvent()) { setConfigPropertyType(xpe.getBean()); } else if (xpe.isRemoveEvent()) { setConfigPropertyType((String) null); } } });
public ModuleType getType() { return deployable.getType(); }
public String[] getText(String xpath) { DDBean[] beans = getChildBean(xpath); if (beans == null) { return null; } String[] text = new String[beans.length]; for (int i = 0; i < beans.length; i++) { text[i] = beans[i].getText(); } return text; }
public DDBean[] getChildBean(String xpath) { return root.getChildBean(xpath); }
/** * @return a @see java.io.InputStream for an existing entry in * the current abstract archive * @param the entry name */ public InputStream getEntry(String name) throws IOException { return deployObject.getEntry(name); }
public String[] getText(String xpath) { return root.getText(xpath); }
public Class findClass(String name) { return deployableObject.getClassFromScope(name); }
public String getDDBeanRootVersion() { return docBean.getAttributeValue("version"); }
public String[] getAttributeNames() { return docBean.getAttributeNames(); }
public void fireXpathEvent(XpathEvent xpe) { if (xpe.isChangeEvent() || xpe.isAddEvent()) { setConfigPropertyName(xpe.getBean()); } else if (xpe.isRemoveEvent()) { setConfigPropertyName((String) null); } } });
private void setConfigPropertyName(DDBean configPropertyBean) { if (configPropertyBean == null) { setConfigPropertyName((String) null); } else { setConfigPropertyName(configPropertyBean.getText()); } }
/** * @return a @see java.io.InputStream for an existing entry in * the current abstract archive * @param the entry name */ public InputStream getEntry(String name) throws IOException { return deployObject.getEntry(name); }
/** * @return an @see java.util.Enumeration of entries in this abstract * archive */ public Enumeration entries() { return deployObject.entries(); }
void dispose() { if (ddBean != null) { ddBean.removeXpathListener("config-property-type", typeListener); ddBean.removeXpathListener("config-property-name", nameListener); } nameListener = null; typeListener = null; ddBean = null; }
public Class findClass(String name) { return deployableObject.getClassFromScope(name); }
public String getAttributeValue(String attrName) { return docBean.getAttributeValue(attrName); }
public void fireXpathEvent(XpathEvent xpe) { if (xpe.isChangeEvent() || xpe.isAddEvent()) { setConfigPropertyName(xpe.getBean()); } else if (xpe.isRemoveEvent()) { setConfigPropertyName((String) null); } } });
public void fireXpathEvent(XpathEvent xpe) { if (xpe.isChangeEvent() || xpe.isAddEvent()) { setConfigPropertyType(xpe.getBean()); } else if (xpe.isRemoveEvent()) { setConfigPropertyType((String) null); } } });