public class EventEmitter extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
fireAfterDataFetch(Context context) |
void |
fireAfterExecute(Context context) |
void |
fireBeforeDataFetch(Context context) |
void |
fireBeforeExecute(Context context) |
graphql.GraphQL.Builder |
fireBeforeGraphQLBuild(graphql.GraphQL.Builder builder)
This gets fired just before we build the GraphQL object
|
void |
fireBeforeMethodInvoke(InvokeInfo invokeInfo) |
graphql.schema.GraphQLSchema.Builder |
fireBeforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
This gets fired just before we create the final schema.
|
Operation |
fireCreateOperation(Operation operation)
This gets fired during the bootstrap phase before a new operation
is being created.
|
void |
fireOnDataFetchError(String executionId,
Throwable t) |
void |
fireOnExecuteError(String executionId,
Throwable t) |
static EventEmitter |
getInstance(Config config) |
public static EventEmitter getInstance(Config config)
public void fireBeforeExecute(Context context)
public void fireAfterExecute(Context context)
public void fireBeforeDataFetch(Context context)
public void fireBeforeMethodInvoke(InvokeInfo invokeInfo) throws Exception
Exceptionpublic void fireAfterDataFetch(Context context)
public graphql.GraphQL.Builder fireBeforeGraphQLBuild(graphql.GraphQL.Builder builder)
builder - as it standspublic graphql.schema.GraphQLSchema.Builder fireBeforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
builder - as it standsCopyright © 2018–2021. All rights reserved.