1 22 package org.jboss.deployment.spi.beans; 23 24 import javax.enterprise.deploy.model.DDBean ; 25 import javax.enterprise.deploy.model.DDBeanRoot ; 26 import javax.enterprise.deploy.model.DeployableObject ; 27 import javax.enterprise.deploy.spi.DConfigBean ; 28 import javax.enterprise.deploy.spi.DConfigBeanRoot ; 29 import javax.enterprise.deploy.spi.exceptions.ConfigurationException ; 30 31 36 public class JBossWebConfigBeanRoot extends JBossConfigBeanProxy implements DConfigBeanRoot 37 { 38 public static void main(String args[]) 39 { 40 System.out.println("test"); 41 } 42 43 public JBossWebConfigBeanRoot(DDBeanRoot root) 44 { 45 JBossWebConfigBean bean = new JBossWebConfigBean(root, this); 46 DeployableObject deployment = root.getDeployableObject(); 47 setBean(bean, deployment); 48 } 49 50 public DConfigBean getDConfigBean(DDBeanRoot arg0) 51 { 52 return null; 54 } 55 56 private class JBossWebConfigBean extends AbstractJBossConfigBean 57 { 58 public JBossWebConfigBean(DDBean bean, DConfigBeanRoot root) 59 { 60 super(bean, root, null); 61 } 62 63 public DConfigBean getDConfigBean(DDBean bean) throws ConfigurationException 64 { 65 return null; 67 } 68 69 72 protected ConfigBeanXPaths buildXPathList() 73 { 74 ConfigBeanXPaths pathRoot = new ConfigBeanXPaths("", null); 75 ConfigBeanXPaths contextRoot = new ConfigBeanXPaths("context-root", pathRoot); 76 return pathRoot; 77 } 78 } 79 80 } 81 | Popular Tags |