org.jboss.webbeans.integration.deployer
Class DeployersUtils

java.lang.Object
  extended by org.jboss.webbeans.integration.deployer.DeployersUtils

public final class DeployersUtils
extends Object

WebBeans deployers utils.

Author:
Ales Justin

Field Summary
static String WEB_BEANS_BOOTSTRAP_BEAN
           
static String WEB_BEANS_CLASSPATH
           
static String WEB_BEANS_DEPLOYMENT_FLAG
           
static String WEB_BEANS_FILES
           
 
Method Summary
static boolean checkForWebBeansFiles(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Check deployment hierarchy for beans.xml files.
static String getBootstrapBeanName(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Get bootstrap bean name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_BEANS_FILES

public static final String WEB_BEANS_FILES
See Also:
Constant Field Values

WEB_BEANS_CLASSPATH

public static final String WEB_BEANS_CLASSPATH
See Also:
Constant Field Values

WEB_BEANS_DEPLOYMENT_FLAG

public static final String WEB_BEANS_DEPLOYMENT_FLAG
See Also:
Constant Field Values

WEB_BEANS_BOOTSTRAP_BEAN

public static final String WEB_BEANS_BOOTSTRAP_BEAN
See Also:
Constant Field Values
Method Detail

getBootstrapBeanName

public static String getBootstrapBeanName(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Get bootstrap bean name.

Parameters:
unit - the deployment unit
Returns:
webbeans bootstrap bean name

checkForWebBeansFiles

public static boolean checkForWebBeansFiles(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Check deployment hierarchy for beans.xml files. It checks the 'cached' flag.

Parameters:
unit - the deployment unit
Returns:
true if beans.xml files exist, false otherwise


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.