1 17 18 package org.apache.geronimo.deployment.tools.loader; 19 20 import java.net.URL ; 21 import java.util.HashMap ; 22 import java.util.Map ; 23 import javax.enterprise.deploy.model.DDBean ; 24 import javax.enterprise.deploy.model.J2eeApplicationObject ; 25 import javax.enterprise.deploy.model.XpathListener ; 26 import javax.enterprise.deploy.model.exceptions.DDBeanCreateException; 27 import javax.enterprise.deploy.shared.ModuleType ; 28 29 34 public abstract class ApplicationDeployable extends AbstractDeployable implements J2eeApplicationObject { 35 private final Map uriMap; 36 public ApplicationDeployable(URL moduleURL) throws DDBeanCreateException { 37 super(ModuleType.EAR, moduleURL, "META-INF/application.xml"); 38 DDBean [] moduleBeans = getChildBean("/application/module"); 39 uriMap = new HashMap (moduleBeans.length); 40 for (int i = 0; i < moduleBeans.length; i++) { 41 DDBean moduleBean = moduleBeans[i]; 42 String uri; 43 44 } 45 } 46 47 public void addXpathListener(ModuleType type, String xpath, XpathListener xpl) { 48 } 49 50 public void removeXpathListener(ModuleType type, String xpath, XpathListener xpl) { 51 } 52 } 53 | Popular Tags |