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 TypeMethodDescriptionvoid
configure
(RuntimeWiring.Builder builder) Apply changes to theRuntimeWiring.Builder
such as registeringDataFetcher
s, custom scalar types, and more.default void
configure
(RuntimeWiring.Builder builder, List<WiringFactory> container) Variant ofconfigure(RuntimeWiring.Builder)
that also collectsWiringFactory
instances that are then combined as one viaCombinedWiringFactory
.default void
Provides 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.Builder
such as registeringDataFetcher
s, custom scalar types, and more.- Parameters:
builder
- the builder to configure
-
configure
Variant ofconfigure(RuntimeWiring.Builder)
that also collectsWiringFactory
instances that are then combined as one viaCombinedWiringFactory
.- Parameters:
builder
- the builder to configurecontainer
- the list of configured factories to add or insert into
-