/** * Get the virtual file path for the jboss-web descriptor in the * DeploymentContext.getMetaDataPath. * * @return the current virtual file path for the web-app descriptor */ public String getWebXmlPath() { return getName(); } /**
/** * Set the virtual file path for the jboss-web descriptor in the * DeploymentContext.getMetaDataLocation. The standard path is jboss-web.xml * to be found in the WEB-INF metdata path. * * @param webXmlPath - new virtual file path for the web-app descriptor */ public void setWebXmlPath(String webXmlPath) { setName(webXmlPath); }
JBossWebMetaData result = unit.getTransientManagedObjects().getAttachment(getOutput()); if (result == null && wmd != null && smd != null) result.merge(null, wmd); result.merge(wmd, smd); unit.getTransientManagedObjects().addAttachment(key, result, getOutput()); unit.getTransientManagedObjects().addAttachment(key, result, getOutput()); unit.getTransientManagedObjects().addAttachment(key, result, getOutput());