Package org.jboss.weld.bootstrap.events
Class AbstractProcessClassBean<X,B extends ClassBean<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.AbstractProcessClassBean<X,B>
-
- All Implemented Interfaces:
ProcessBean<X>,NotificationListener
- Direct Known Subclasses:
ProcessManagedBeanImpl,ProcessSessionBeanImpl
public abstract class AbstractProcessClassBean<X,B extends ClassBean<X>> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessClassBean(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.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
-
AbstractProcessClassBean
public AbstractProcessClassBean(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<X>- 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<X>- Returns:
- the
Beanobject about to be registered
-
-