@Target(value={METHOD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Inherited
public @interface Selector
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
eventBus
An expression that evaluates to the
EventBus on which to place this handler. |
SelectorType |
type
The type of
Selector to register. |
java.lang.String |
value
An expression that evaluates to a
Selector to register
this handler with the EventBus. |
public abstract java.lang.String value
Selector to register
this handler with the EventBus.
If empty, consumer will be subscribed on the global reactor selector
EventBus.on(reactor.bus.selector.Selector selector, reactor.fn.Consumer)public abstract java.lang.String eventBus
EventBus on which to place this handler.public abstract SelectorType type
Selector to register.Selector.