Case
- the type of the caseHandler
- the type of the handler@Deprecated public class DefaultHandlers<Case,Handler> extends Object implements Handlers<Case,Handler>
Handlers
. Uses a map to hold a registry of handlers.Constructor and Description |
---|
DefaultHandlers()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<Handler> |
get(String context,
Case requestCase)
Deprecated.
Gets all handlers that match given
context and requestCase . |
void |
register(BiPredicate<String,Case> handlerSelector,
Handler handler)
Deprecated.
Registers a
handler that can handle instructions matching given handlerSelector predicate. |
public Collection<Handler> get(String context, Case requestCase)
Handlers
context
and requestCase
.public void register(BiPredicate<String,Case> handlerSelector, Handler handler)
Handlers
handler
that can handle instructions matching given handlerSelector
predicate.Copyright © 2010–2020. All rights reserved.