Interface RoutingBridgeRouteContext
-
public interface RoutingBridgeRouteContextThe context passed toRoutingBridge.route(DocumentRoutes, Object, Object, RoutingBridgeRouteContext).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Textension(RoutingBridgeRouteContextExtension<T> extension)Extend the current context with the given extension, resulting in an extended context offering more options.StringtenantIdentifier()
-
-
-
Method Detail
-
tenantIdentifier
String tenantIdentifier()
- Returns:
- The tenant identifier currently in use (
nullif 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:
org.hibernate.search.util.common.SearchException- If the extension cannot be applied (wrong underlying technology, ...).
-
-