Package org.jboss.weld.bootstrap.events
Class ProcessBeanImpl<X>
- java.lang.Object
-
- org.jboss.weld.bootstrap.events.ContainerEvent
-
- org.jboss.weld.bootstrap.events.AbstractContainerEvent
-
- org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
-
- org.jboss.weld.bootstrap.events.ProcessBeanImpl<X>
-
- All Implemented Interfaces:
ProcessBean<X>,NotificationListener
- Direct Known Subclasses:
ProcessSynthethicBeanImpl
public abstract class ProcessBeanImpl<X> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <X> voidfire(BeanManagerImpl beanManager, Bean<X> bean)protected static <X> voidfire(BeanManagerImpl beanManager, AbstractBean<X,?> bean)AnnotatedgetAnnotated()Returns theAnnotatedTyperepresenting the bean class, theAnnotatedMethodrepresenting the producer method, or theAnnotatedFieldrepresenting the producer field.Bean<X>getBean()Returns theBeanobject that is about to be registered.-
Methods inherited from class org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
addDefinitionError, fire
-
Methods inherited from class org.jboss.weld.bootstrap.events.AbstractContainerEvent
getActualTypeArguments, getBeanManager, getErrors, getEventType, getRawType
-
Methods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, postNotify, preNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.ProcessBean
addDefinitionError
-
-
-
-
Method Detail
-
fire
protected static <X> void fire(BeanManagerImpl beanManager, AbstractBean<X,?> bean)
-
fire
protected static <X> void fire(BeanManagerImpl beanManager, Bean<X> bean)
-
getAnnotated
public Annotated getAnnotated()
Description copied from interface:ProcessBeanReturns theAnnotatedTyperepresenting the bean class, theAnnotatedMethodrepresenting the producer method, or theAnnotatedFieldrepresenting the producer field.If invoked upon a
ProcessSyntheticBeanevent, non-portable behavior results and the returned value should be ignored.- Specified by:
getAnnotatedin interfaceProcessBean<X>- Returns:
- the
Annotatedfor the bean being registered
-
getBean
public Bean<X> getBean()
Description copied from interface:ProcessBeanReturns theBeanobject that is about to be registered. TheBeanmay implementInterceptororDecorator.- Specified by:
getBeanin interfaceProcessBean<X>- Returns:
- the
Beanobject about to be registered
-
-