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 Type
    Method
    Description
    default void
    afterDataFetch(io.smallrye.graphql.api.Context context)
     
    default void
    afterExecute(io.smallrye.graphql.api.Context context)
     
    default void
    beforeDataFetch(io.smallrye.graphql.api.Context context)
     
    default void
    beforeExecute(io.smallrye.graphql.api.Context context)
     
    default graphql.GraphQL.Builder
    beforeGraphQLBuild(graphql.GraphQL.Builder builder)
     
    default void
     
    default graphql.schema.GraphQLSchema.Builder
    beforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
     
    default io.smallrye.graphql.schema.model.Operation
    createOperation(io.smallrye.graphql.schema.model.Operation operation)
     
    default void
    errorDataFetch(io.smallrye.graphql.api.Context context, Throwable t)
     
    default void
    errorDataFetch(String executionId, Throwable t)
    Deprecated.
    use errorDataFetch(Context context, Throwable t)
    default void
    errorExecute(io.smallrye.graphql.api.Context context, Throwable t)
     
    default void
    errorExecute(String executionId, Throwable t)
    Deprecated.
    use errorExecute(Context context, Throwable t)
    Configuration key that controls whether this EventingService should be enabled.
    default Map<String,jakarta.json.bind.Jsonb>
     
  • 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

      default io.smallrye.graphql.schema.model.Operation createOperation(io.smallrye.graphql.schema.model.Operation operation)
    • overrideJsonbConfig

      default Map<String,jakarta.json.bind.Jsonb> overrideJsonbConfig()
    • beforeGraphQLBuild

      default graphql.GraphQL.Builder beforeGraphQLBuild(graphql.GraphQL.Builder builder)
    • beforeExecute

      default void beforeExecute(io.smallrye.graphql.api.Context context)
    • afterExecute

      default void afterExecute(io.smallrye.graphql.api.Context context)
    • errorExecute

      @Deprecated default void errorExecute(String executionId, Throwable t)
      Deprecated.
      use errorExecute(Context context, Throwable t)
    • errorExecute

      default void errorExecute(io.smallrye.graphql.api.Context context, Throwable t)
    • beforeDataFetch

      default void beforeDataFetch(io.smallrye.graphql.api.Context context)
    • beforeInvoke

      default void beforeInvoke(InvokeInfo invokeInfo) throws Exception
      Throws:
      Exception
    • afterDataFetch

      default void afterDataFetch(io.smallrye.graphql.api.Context context)
    • errorDataFetch

      @Deprecated default void errorDataFetch(String executionId, Throwable t)
      Deprecated.
      use errorDataFetch(Context context, Throwable t)
    • errorDataFetch

      default void errorDataFetch(io.smallrye.graphql.api.Context context, Throwable t)