public class EventsService extends Object implements EventingService
Constructor and Description |
---|
EventsService() |
Modifier and Type | Method and Description |
---|---|
void |
afterDataFetch(io.smallrye.graphql.api.Context context) |
void |
afterExecute(io.smallrye.graphql.api.Context context) |
void |
beforeDataFetch(io.smallrye.graphql.api.Context context) |
void |
beforeExecute(io.smallrye.graphql.api.Context context) |
void |
beforeInvoke(InvokeInfo invokeInfo) |
graphql.schema.GraphQLSchema.Builder |
beforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder) |
io.smallrye.graphql.schema.model.Operation |
createOperation(io.smallrye.graphql.schema.model.Operation operation) |
void |
errorDataFetch(String executionId,
Throwable t) |
void |
errorExecute(String executionId,
Throwable t) |
String |
getConfigKey() |
public graphql.schema.GraphQLSchema.Builder beforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
beforeSchemaBuild
in interface EventingService
public io.smallrye.graphql.schema.model.Operation createOperation(io.smallrye.graphql.schema.model.Operation operation)
createOperation
in interface EventingService
public void beforeExecute(io.smallrye.graphql.api.Context context)
beforeExecute
in interface EventingService
public void afterExecute(io.smallrye.graphql.api.Context context)
afterExecute
in interface EventingService
public void beforeDataFetch(io.smallrye.graphql.api.Context context)
beforeDataFetch
in interface EventingService
public void beforeInvoke(InvokeInfo invokeInfo) throws Exception
beforeInvoke
in interface EventingService
Exception
public void afterDataFetch(io.smallrye.graphql.api.Context context)
afterDataFetch
in interface EventingService
public void errorExecute(String executionId, Throwable t)
errorExecute
in interface EventingService
public void errorDataFetch(String executionId, Throwable t)
errorDataFetch
in interface EventingService
public String getConfigKey()
getConfigKey
in interface EventingService
Copyright © 2018–2020. All rights reserved.