Interface RoutingBridgeRouteContext
-
public interface RoutingBridgeRouteContext
The context passed toRoutingBridge.route(DocumentRoutes, Object, Object, RoutingBridgeRouteContext)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
extension(RoutingBridgeRouteContextExtension<T> extension)
Extend the current context with the given extension, resulting in an extended context offering more options.String
tenantIdentifier()
-
-
-
Method Detail
-
tenantIdentifier
String tenantIdentifier()
- Returns:
- The tenant identifier currently in use (
null
if none).
-
extension
<T> T extension(RoutingBridgeRouteContextExtension<T> 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, ...).
-
-