Interface RoutingBridgeRouteContext
public interface RoutingBridgeRouteContext
The context passed to
RoutingBridge.route(DocumentRoutes, Object, Object, RoutingBridgeRouteContext)
.-
Method Summary
Modifier and TypeMethodDescription<T> T
extension
(RoutingBridgeRouteContextExtension<T> extension) Extend the current context with the given extension, resulting in an extended context offering more options.
-
Method Details
-
tenantIdentifier
String tenantIdentifier()- Returns:
- The tenant identifier currently in use (
null
if none).
-
extension
Extend the current context with the given extension, resulting in an extended context offering more options.- Type Parameters:
T
- The type of context provided by the extension.- Parameters:
extension
- The extension to apply.- Returns:
- The extended context.
- Throws:
SearchException
- If the extension cannot be applied (wrong underlying technology, ...).
-