Package io.smallrye.graphql.spi
Interface EventingService
public interface EventingService
Some events during bootstrap and execution that allows extension
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.default voiderrorExecute(Context context, Throwable t) default voiderrorExecute(String executionId, Throwable t) Deprecated.useerrorExecute(Context context, Throwable t)Configuration key that controls whether this EventingService should be enabled.
-
Method Details
-
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) -
createOperation
-
overrideJsonbConfig
-
beforeGraphQLBuild
default graphql.GraphQL.Builder beforeGraphQLBuild(graphql.GraphQL.Builder builder) -
beforeExecute
-
afterExecute
-
errorExecute
Deprecated.useerrorExecute(Context context, Throwable t) -
errorExecute
-
beforeDataFetch
-
beforeInvoke
- Throws:
Exception
-
afterDataFetch
-
errorDataFetch
Deprecated.useerrorDataFetch(Context context, Throwable t) -
errorDataFetch
-
errorDataFetch(Context context, Throwable t)