Package org.jboss.weld.bootstrap.events
Class ProcessSyntheticObserverMethodImpl<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.ProcessObserverMethodImpl<T,X>
-
- org.jboss.weld.bootstrap.events.ProcessSyntheticObserverMethodImpl<T,X>
-
- All Implemented Interfaces:
ProcessObserverMethod<T,X>,ProcessSyntheticObserverMethod<T,X>,NotificationListener
public class ProcessSyntheticObserverMethodImpl<T,X> extends ProcessObserverMethodImpl<T,X> implements ProcessSyntheticObserverMethod<T,X>
This event is used to notify observers for each synthetic observer method that is added.- Author:
- Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bootstrap.events.ProcessObserverMethodImpl
observerMethod, vetoed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T,X>
ObserverMethod<T>fire(BeanManagerImpl beanManager, AnnotatedMethod<X> beanMethod, ObserverMethod<T> observerMethod, Extension extension)ExtensiongetSource()Get the extension instance which added theObserverMethodfor which this event is being fired.-
Methods inherited from class org.jboss.weld.bootstrap.events.ProcessObserverMethodImpl
configureObserverMethod, fire, fire, getAnnotatedMethod, getObserverMethod, isDirty, postNotify, setObserverMethod, veto
-
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, 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.ProcessObserverMethod
addDefinitionError, configureObserverMethod, getAnnotatedMethod, getObserverMethod, setObserverMethod, veto
-
-
-
-
Method Detail
-
fire
public static <T,X> ObserverMethod<T> fire(BeanManagerImpl beanManager, AnnotatedMethod<X> beanMethod, ObserverMethod<T> observerMethod, Extension extension)
-
getSource
public Extension getSource()
Description copied from interface:ProcessSyntheticObserverMethodGet the extension instance which added theObserverMethodfor which this event is being fired.- Specified by:
getSourcein interfaceProcessSyntheticObserverMethod<T,X>- Returns:
- the extension instance
-
-