Interface RoutingBridgeRouteContext
public interface RoutingBridgeRouteContext
The context passed to
RoutingBridge.route(DocumentRoutes, Object, Object, RoutingBridgeRouteContext).-
Method Summary
Modifier and TypeMethodDescription<T> Textension(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 (
nullif 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:
org.hibernate.search.util.common.SearchException- If the extension cannot be applied (wrong underlying technology, ...).
-