public class ProcessObserverMethodImpl<T,X> extends AbstractDefinitionContainerEvent implements ProcessObserverMethod<T,X>
| Constructor and Description |
|---|
ProcessObserverMethodImpl(BeanManagerImpl beanManager,
AnnotatedMethod<X> beanMethod,
ObserverMethod<T> observerMethod) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinitionError(Throwable t)
Registers a definition error with the container, causing the container to
abort deployment after bean discovery is complete.
|
static <T> void |
fire(BeanManagerImpl beanManager,
ObserverMethod<T> observer) |
static <T,X> void |
fire(BeanManagerImpl beanManager,
ObserverMethodImpl<T,X> observer) |
AnnotatedMethod<X> |
getAnnotatedMethod()
The
AnnotatedMethod representing the
observer method. |
List<Throwable> |
getDefinitionErrors() |
ObserverMethod<T> |
getObserverMethod()
The
ObserverMethod object that will be
used by the container to invoke the observer when a matching event is
fired. |
fire, firegetActualTypeArguments, getBeanManager, getErrors, getRawTypepublic ProcessObserverMethodImpl(BeanManagerImpl beanManager, AnnotatedMethod<X> beanMethod, ObserverMethod<T> observerMethod)
public static <T,X> void fire(BeanManagerImpl beanManager, ObserverMethodImpl<T,X> observer)
public static <T> void fire(BeanManagerImpl beanManager, ObserverMethod<T> observer)
public void addDefinitionError(Throwable t)
ProcessObserverMethodaddDefinitionError in interface ProcessObserverMethod<T,X>t - A Throwable representing the definition errorpublic AnnotatedMethod<X> getAnnotatedMethod()
ProcessObserverMethodAnnotatedMethod representing the
observer method.getAnnotatedMethod in interface ProcessObserverMethod<T,X>AnnotatedMethod
representing the observer methodpublic ObserverMethod<T> getObserverMethod()
ProcessObserverMethodObserverMethod object that will be
used by the container to invoke the observer when a matching event is
fired.getObserverMethod in interface ProcessObserverMethod<T,X>ObserverMethod object that
will be used by the container to call the observer methodCopyright © 2013 Seam Framework. All Rights Reserved.