Package org.jboss.weld.bootstrap.events
Class ProcessObserverMethodImpl<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>
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessObserverMethod<T,,X> NotificationListener
- Direct Known Subclasses:
ProcessSyntheticObserverMethodImpl
public class ProcessObserverMethodImpl<T,X>
extends AbstractDefinitionContainerEvent
implements jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
Implementation of the event used to notify observers for each observer method that is added.
- Author:
- David Allen, Martin Kouba
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.enterprise.inject.spi.ObserverMethod<T>protected boolean -
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator<T>protected static <T,X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(ProcessObserverMethodImpl<T, X> event) static <T,X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(BeanManagerImpl beanManager, jakarta.enterprise.inject.spi.AnnotatedMethod<X> beanMethod, jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod) jakarta.enterprise.inject.spi.AnnotatedMethod<X>jakarta.enterprise.inject.spi.ObserverMethod<T>booleanisDirty()voidpostNotify(jakarta.enterprise.inject.spi.Extension extension) voidsetObserverMethod(jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod) voidveto()Methods inherited from class org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
addDefinitionError, fireMethods inherited from class org.jboss.weld.bootstrap.events.AbstractContainerEvent
getActualTypeArguments, getBeanManager, getErrors, getEventType, getRawTypeMethods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, preNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.ProcessObserverMethod
addDefinitionError
-
Field Details
-
observerMethod
-
vetoed
protected boolean vetoed
-
-
Method Details
-
fire
public static <T,X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(BeanManagerImpl beanManager, jakarta.enterprise.inject.spi.AnnotatedMethod<X> beanMethod, jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod) -
fire
protected static <T,X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(ProcessObserverMethodImpl<T, X> event) -
getAnnotatedMethod
-
getObserverMethod
-
setObserverMethod
-
configureObserverMethod
public jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator<T> configureObserverMethod() -
veto
public void veto() -
isDirty
public boolean isDirty() -
postNotify
public void postNotify(jakarta.enterprise.inject.spi.Extension extension) - Specified by:
postNotifyin interfaceNotificationListener- Overrides:
postNotifyin classContainerEvent
-