Package io.smallrye.graphql.spi
Interface EventingService
-
public interface EventingServiceSome events during bootstrap and execution that allows extension- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidafterDataFetch(Context context)default voidafterExecute(Context context)default voidbeforeDataFetch(Context context)default voidbeforeExecute(Context context)default graphql.GraphQL.BuilderbeforeGraphQLBuild(graphql.GraphQL.Builder builder)default voidbeforeInvoke(InvokeInfo invokeInfo)default graphql.schema.GraphQLSchema.BuilderbeforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)default OperationcreateOperation(Operation operation)default voiderrorDataFetch(Context context, Throwable t)default voiderrorDataFetch(String executionId, Throwable t)Deprecated.useerrorDataFetch(Context context, Throwable t)default voiderrorExecute(Context context, Throwable t)default voiderrorExecute(String executionId, Throwable t)Deprecated.useerrorExecute(Context context, Throwable t)StringgetConfigKey()Configuration key that controls whether this EventingService should be enabled.default Map<String,jakarta.json.bind.Jsonb>overrideJsonbConfig()
-
-
-
Method Detail
-
getConfigKey
String getConfigKey()
Configuration key that controls whether this EventingService should be enabled. If this is null, then this service will be active always when it's detected.
-
beforeSchemaBuild
default graphql.schema.GraphQLSchema.Builder beforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
-
beforeGraphQLBuild
default graphql.GraphQL.Builder beforeGraphQLBuild(graphql.GraphQL.Builder builder)
-
beforeExecute
default void beforeExecute(Context context)
-
afterExecute
default void afterExecute(Context context)
-
errorExecute
@Deprecated default void errorExecute(String executionId, Throwable t)
Deprecated.useerrorExecute(Context context, Throwable t)
-
beforeDataFetch
default void beforeDataFetch(Context context)
-
beforeInvoke
default void beforeInvoke(InvokeInfo invokeInfo) throws Exception
- Throws:
Exception
-
afterDataFetch
default void afterDataFetch(Context context)
-
errorDataFetch
@Deprecated default void errorDataFetch(String executionId, Throwable t)
Deprecated.useerrorDataFetch(Context context, Throwable t)
-
-