Methods Summary |
---|
public void | addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
myPropertyListeners.add(pcl);
|
protected abstract ConfigBeanXPaths | buildXPathList()
|
protected void | death()
Iterator i = children.iterator();
while (i.hasNext())
{
AbstractJBossConfigBean b = (AbstractJBossConfigBean) i.next();
try
{
removeDConfigBean(b);
}
catch (BeanNotFoundException e)
{
}
}
xpaths.clear();
|
public javax.enterprise.deploy.spi.DConfigBean | getDConfigBean(javax.enterprise.deploy.model.DDBean bean)
// get a child bean
String path = bean.getXpath();
ConfigBeanXPaths cPath = (ConfigBeanXPaths) xpaths.get(path);
if (cPath == null)
{
return null;
}
AbstractJBossConfigBean retBean = new JBossNullConfigBean(bean, this.myRoot, cPath);
children.add(retBean);
return retBean;
|
public javax.enterprise.deploy.model.DDBean | getDDBean()
return myBean;
|
public java.lang.String | getPath()
return myPath.getPath();
|
public java.lang.String[] | getXpaths()
Object[] paths = this.xpaths.values().toArray();
String[] retval = new String[paths.length];
for (int i = 0; i < paths.length; i++)
{
retval[i] = ((ConfigBeanXPaths) paths[i]).getPath();
}
return retval;
|
public void | notifyDDChange(javax.enterprise.deploy.model.XpathEvent arg0)
|
public void | removeDConfigBean(javax.enterprise.deploy.spi.DConfigBean bean)Removes the xpath of a given configbean from the list of this bean's
xpaths (children so to speak). Then calls death.
//childList.remove(bean);
AbstractJBossConfigBean b = ((AbstractJBossConfigBean) bean);
Object o = xpaths.get(b.getPath());
if (o == null)
{
throw new BeanNotFoundException("Not Found");
}
children.remove(bean);
xpaths.remove(b.getPath());
b.death();
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
myPropertyListeners.remove(pcl);
|
public void | save(java.util.jar.JarOutputStream stream, org.jboss.deployment.spi.DeploymentMetaData metaData)
|