/* <Deploy> element decleration */
if (XMLUtil.getName(child).equals(WebBeansConstants.WEB_BEANS_XML_SPEC_SPECIFIC_DEPLOY_ELEMENT))
{
if (DEPLOY_IS_DEFINED)
{
throw new DeploymentException("There can not be more than one web-beans.xml file that declares <deploy> element");
}
else
{
if (!XMLUtil.isElementChildExist(child, WebBeansConstants.WEB_BEANS_XML_STANDART_ELEMENT))
{
throw new DeploymentException("<Deploy> element must have <Standard/> deployment type in the web-beans.xml");
}
DeploymentTypeManager.getInstance().removeProduction();
configureDeploymentTypes(child);