Interface SelectionLoadingOptionsStep
The DSL entry point passed to consumers in
SearchSessionBuilder.loading(Consumer)
,
allowing the definition of context for use by selection loading strategies:
connections, third-party sessions, ...-
Method Summary
-
Method Details
-
context
Sets context for use by selection loading strategies: connections, third-party sessions, ...The context can be retrieved through
SelectionLoadingOptions.context(Class)
.- Type Parameters:
T
- The type of context.- Parameters:
contextType
- The type of context, used as a key to retrieve it fromSelectionLoadingOptions.context(Class)
.context
- The context instance.
-