public class EventEmitter extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
fireAfterDataFetch() |
void |
fireAfterExecute() |
void |
fireBeforeDataFetch() |
void |
fireBeforeExecute() |
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()
public void fireAfterExecute()
public void fireBeforeDataFetch()
public void fireBeforeMethodInvoke(InvokeInfo invokeInfo) throws Exception
Exceptionpublic void fireAfterDataFetch()
public graphql.schema.GraphQLSchema.Builder fireBeforeSchemaBuild(graphql.schema.GraphQLSchema.Builder builder)
builder - as it standsCopyright © 2018–2020. All rights reserved.