Package io.smallrye.graphql.spi
Interface EventingService
-
public interface EventingService
Some events during bootstrap and execution that allows extension- Author:
- Phillip Kruger ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
afterDataFetch(Context context)
default void
afterExecute(Context context)
default void
beforeDataFetch(Context context)
default void
beforeExecute(Context context)
default graphql.GraphQL.Builder
beforeGraphQLBuild(graphql.GraphQL.Builder builder)
default void
beforeInvoke(InvokeInfo invokeInfo)
default graphql.schema.GraphQLSchema.Builder
beforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
default Operation
createOperation(Operation operation)
default void
errorDataFetch(String executionId, Throwable t)
default void
errorExecute(String executionId, Throwable t)
String
getConfigKey()
Configuration key that controls whether this EventingService should be enabled.default Map<String,javax.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)
-
beforeDataFetch
default void beforeDataFetch(Context context)
-
beforeInvoke
default void beforeInvoke(InvokeInfo invokeInfo) throws Exception
- Throws:
Exception
-
afterDataFetch
default void afterDataFetch(Context context)
-
-