public class CdiExtension extends Object implements javax.enterprise.inject.spi.Extension
Constructor and Description |
---|
CdiExtension() |
Modifier and Type | Method and Description |
---|---|
void |
afterBean(javax.enterprise.inject.spi.AfterBeanDiscovery afterBeanDiscovery,
javax.enterprise.inject.spi.BeanManager beanManager)
After bean discovery.
|
void |
afterDeploymentValidation(javax.enterprise.inject.spi.AfterDeploymentValidation event,
javax.enterprise.inject.spi.BeanManager beanManager)
After deployment validation
|
void |
beforeBean(javax.enterprise.inject.spi.BeforeBeanDiscovery beforeBeanDiscovery,
javax.enterprise.inject.spi.BeanManager beanManager)
Before bean discovery.
|
<T> void |
collect(javax.enterprise.inject.spi.ProcessManagedBean<T> eventIn,
javax.enterprise.inject.spi.BeanManager beanManager) |
Map<Class<?>,Class<? extends DataModel<?>>> |
getForClassToDataModelClass()
Gets the map of classes that can be wrapped by a data model to data model implementation classes
|
boolean |
isAddBeansForJSFImplicitObjects() |
<T extends DataModel<?>> |
processBean(javax.enterprise.inject.spi.ProcessBean<T> event,
javax.enterprise.inject.spi.BeanManager beanManager)
Processing of beans
|
void |
setAddBeansForJSFImplicitObjects(boolean addBeansForJSFImplicitObjects) |
public void beforeBean(@Observes javax.enterprise.inject.spi.BeforeBeanDiscovery beforeBeanDiscovery, javax.enterprise.inject.spi.BeanManager beanManager)
beforeBeanDiscovery
- the before bean discovery.beanManager
- the bean manager.public void afterBean(@Observes javax.enterprise.inject.spi.AfterBeanDiscovery afterBeanDiscovery, javax.enterprise.inject.spi.BeanManager beanManager)
afterBeanDiscovery
- the after bean discovery.public <T extends DataModel<?>> void processBean(@Observes javax.enterprise.inject.spi.ProcessBean<T> event, javax.enterprise.inject.spi.BeanManager beanManager)
event
- the process bean eventbeanManager
- the current bean managerpublic <T> void collect(@Observes javax.enterprise.inject.spi.ProcessManagedBean<T> eventIn, javax.enterprise.inject.spi.BeanManager beanManager)
public void afterDeploymentValidation(@Observes javax.enterprise.inject.spi.AfterDeploymentValidation event, javax.enterprise.inject.spi.BeanManager beanManager)
event
- the after deployment validation eventbeanManager
- the current bean managerpublic Map<Class<?>,Class<? extends DataModel<?>>> getForClassToDataModelClass()
public boolean isAddBeansForJSFImplicitObjects()
public void setAddBeansForJSFImplicitObjects(boolean addBeansForJSFImplicitObjects)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.