Interface RuntimeWiringConfigurer
- All Known Implementing Classes:
AnnotatedControllerConfigurer
public interface RuntimeWiringConfigurer
Callbacks that allow applying changes to the
RuntimeWiring.Builder
in GraphQlSource.Builder.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(RuntimeWiring.Builder builder) Apply changes to theRuntimeWiring.Buildersuch as registeringDataFetchers, custom scalar types, and more.default voidconfigure(RuntimeWiring.Builder builder, List<WiringFactory> container) Variant ofconfigure(RuntimeWiring.Builder)that also collectsWiringFactoryinstances that are then combined as one viaCombinedWiringFactory.default voidProvides the configurer access to theTypeDefinitionRegistry.
-
Method Details
-
setTypeDefinitionRegistry
Provides the configurer access to theTypeDefinitionRegistry.- Parameters:
registry- the registry- Since:
- 1.3.0
-
configure
Apply changes to theRuntimeWiring.Buildersuch as registeringDataFetchers, custom scalar types, and more.- Parameters:
builder- the builder to configure
-
configure
Variant ofconfigure(RuntimeWiring.Builder)that also collectsWiringFactoryinstances that are then combined as one viaCombinedWiringFactory.- Parameters:
builder- the builder to configurecontainer- the list of configured factories to add or insert into
-