T - type of the event the configured ObserverMethod will observepublic interface ObserverMethodBuilder<T>
ObserverMethod instance.
CDI container must provides an implementation of this interface accessible.
The same ObserverMethodBuilder can be used multiple times.
This builder is not thread safe and shall not be used concurrently.Builders.observerMethod(Class)| Modifier and Type | Method and Description |
|---|---|
ObserverMethod<T> |
build()
Build the ObserverMethod
|
ObserverMethodConfigurator<T> |
configure()
Give access to the builder configuration
|
ObserverMethodConfigurator<T> configure()
ObserverMethod<T> build()
Copyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.