public final class ManagedBeanConfigurator extends Object
Contains useful static methods for creating Simple WebBeans Components.
| Constructor and Description |
|---|
ManagedBeanConfigurator(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ManagedBeanConfigurator(WebBeansContext webBeansContext)
public void checkManagedBeanCondition(Class<?> clazz) throws WebBeansConfigurationException
WebBeansConfigurationExceptionpublic boolean isManagedBean(Class<?> clazz) throws WebBeansConfigurationException
clazz - implementation classWebBeansConfigurationException - if any configuration exception occurspublic <T> ManagedBean<T> define(Class<T> clazz, WebBeansType type) throws WebBeansConfigurationException
clazz - Simple WebBean Component implementation classWebBeansConfigurationException - if any configuration exception occursCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.