Loads the given context, by calling all the ContextDataFactoryies. @param ctx the context to load. @throws IllegalArgumentException (since 2.8.0) if the given context is null. @see ContextDataFactory#loadContextData(Session, Context) @since 2.0.0
(Context ctx)
| 521 | * @since 2.0.0 |
| 522 | */ |
| 523 | public void loadContext(Context ctx) { |
| 524 | validateContextNotNull(ctx); |
| 525 | |
| 526 | for (ContextDataFactory cdf : this.contextDataFactories) { |
| 527 | cdf.loadContextData(getSession(), ctx); |
| 528 | } |
| 529 | } |
| 530 | |
| 531 | /** |
| 532 | * Validates that the given context is not {@code null}, throwing an {@code |
no test coverage detected