Package org.jboss.weld.bootstrap.events
Class AbstractProcessProducerBean<T,X,B extends AbstractProducerBean<T,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.AbstractProcessProducerBean<T,X,B>
-
- All Implemented Interfaces:
ProcessBean<X>,NotificationListener
- Direct Known Subclasses:
ProcessProducerFieldImpl,ProcessProducerMethodImpl
public abstract class AbstractProcessProducerBean<T,X,B extends AbstractProducerBean<T,X,?>> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessProducerBean(BeanManagerImpl beanManager, Type rawType, Type[] actualTypeArguments, B bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedgetAnnotated()Returns theAnnotatedTyperepresenting the bean class, theAnnotatedMethodrepresenting the producer method, or theAnnotatedFieldrepresenting the producer field.AnnotatedParameter<T>getAnnotatedDisposedParameter()BgetBean()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
-
-
-
-
Constructor Detail
-
AbstractProcessProducerBean
public AbstractProcessProducerBean(BeanManagerImpl beanManager, Type rawType, Type[] actualTypeArguments, B bean)
-
-
Method Detail
-
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<T>- Returns:
- the
Annotatedfor the bean being registered
-
getBean
public B getBean()
Description copied from interface:ProcessBeanReturns theBeanobject that is about to be registered. TheBeanmay implementInterceptororDecorator.- Specified by:
getBeanin interfaceProcessBean<T>- Returns:
- the
Beanobject about to be registered
-
getAnnotatedDisposedParameter
public AnnotatedParameter<T> getAnnotatedDisposedParameter()
-
-