public class ProcessObserverMethodImpl<T,X> extends AbstractDefinitionContainerEvent implements ProcessObserverMethod<T,X>, ExperimentalProcessObserverMethod<T,X>
| Modifier and Type | Method and Description |
|---|---|
ObserverMethodConfigurator<T> |
configureObserverMethod() |
static <T,X> ObserverMethod<T> |
fire(BeanManagerImpl beanManager,
AnnotatedMethod<X> beanMethod,
ObserverMethod<T> observerMethod) |
AnnotatedMethod<X> |
getAnnotatedMethod() |
List<Throwable> |
getDefinitionErrors() |
ObserverMethod<T> |
getObserverMethod() |
boolean |
isDirty() |
void |
postNotify(Extension extension) |
void |
setObserverMethod(ObserverMethod<T> observerMethod)
Replaces the observer method.
|
void |
veto()
Forces the container to ignore the observer method.
|
addDefinitionError, firegetActualTypeArguments, getBeanManager, getErrors, getEventType, getRawTypegetReceiver, checkWithinObserverNotification, preNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefinitionErrorpublic static <T,X> ObserverMethod<T> fire(BeanManagerImpl beanManager, AnnotatedMethod<X> beanMethod, ObserverMethod<T> observerMethod)
public AnnotatedMethod<X> getAnnotatedMethod()
getAnnotatedMethod in interface ProcessObserverMethod<T,X>public ObserverMethod<T> getObserverMethod()
getObserverMethod in interface ProcessObserverMethod<T,X>public void setObserverMethod(ObserverMethod<T> observerMethod)
ExperimentalProcessObserverMethodsetObserverMethod in interface ProcessObserverMethod<T,X>setObserverMethod in interface ExperimentalProcessObserverMethod<T,X>observerMethod - target observer method.public ObserverMethodConfigurator<T> configureObserverMethod()
configureObserverMethod in interface ProcessObserverMethod<T,X>public void veto()
ExperimentalProcessObserverMethodveto in interface ProcessObserverMethod<T,X>veto in interface ExperimentalProcessObserverMethod<T,X>public boolean isDirty()
public void postNotify(Extension extension)
postNotify in interface NotificationListenerpostNotify in class ContainerEventCopyright © 2016. All Rights Reserved.