/* <Deploy> element decleration */
else if (XMLUtil.isElementDeployDeclaration(child))
{
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");
}
configureDeploymentTypes(child);
DEPLOY_IS_DEFINED = true;