org.apache.webbeans.config
Class ManagedBeanConfigurator

java.lang.Object
  extended by org.apache.webbeans.config.ManagedBeanConfigurator

public final class ManagedBeanConfigurator
extends Object

Configures Simple WebBeans Component.

Contains useful static methods for creating Simple WebBeans Components.

Version:
$Rev: 1132498 $ $Date: 2011-06-05 23:51:23 +0200 (So, 05 Jun 2011) $

Constructor Summary
ManagedBeanConfigurator(WebBeansContext webBeansContext)
           
 
Method Summary
 void checkManagedBeanCondition(Class<?> clazz)
           
<T> ManagedBean<T>
define(Class<T> clazz, WebBeansType type)
          Deprecated.  
 boolean isManagedBean(Class<?> clazz)
          Returns true if this class can be candidate for simple web bean, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBeanConfigurator

public ManagedBeanConfigurator(WebBeansContext webBeansContext)
Method Detail

checkManagedBeanCondition

public void checkManagedBeanCondition(Class<?> clazz)
                               throws WebBeansConfigurationException
Throws:
WebBeansConfigurationException

isManagedBean

public boolean isManagedBean(Class<?> clazz)
                      throws WebBeansConfigurationException
Returns true if this class can be candidate for simple web bean, false otherwise.

Parameters:
clazz - implementation class
Returns:
true if this class can be candidate for simple web bean
Throws:
WebBeansConfigurationException - if any configuration exception occurs

define

public <T> ManagedBean<T> define(Class<T> clazz,
                                 WebBeansType type)
                      throws WebBeansConfigurationException
Deprecated. 

Returns the newly created Simple WebBean Component.

Parameters:
clazz - Simple WebBean Component implementation class
Returns:
the newly created Simple WebBean Component
Throws:
WebBeansConfigurationException - if any configuration exception occurs


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.