T - bean class typepublic class ObserverMethodsBuilder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AnnotatedType<T> |
annotatedType |
protected WebBeansContext |
webBeansContext |
| Constructor and Description |
|---|
ObserverMethodsBuilder(WebBeansContext webBeansContext,
AnnotatedType<T> annotatedType)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ObserverMethod<?> |
defineObserverMethod(AbstractOwbBean<T> ownerBean,
AnnotatedMethod<?> annotatedMethod)
Check whether the given annotatedMethod is an ObserverMethod and verify it
|
Set<ObserverMethod<?>> |
defineObserverMethods(AbstractOwbBean<T> ownerBean) |
protected final WebBeansContext webBeansContext
protected final AnnotatedType<T> annotatedType
public ObserverMethodsBuilder(WebBeansContext webBeansContext, AnnotatedType<T> annotatedType)
public Set<ObserverMethod<?>> defineObserverMethods(AbstractOwbBean<T> ownerBean)
public ObserverMethod<?> defineObserverMethod(AbstractOwbBean<T> ownerBean, AnnotatedMethod<?> annotatedMethod)
null if this method is not an observer.Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.