All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.introproventures.graphql.jpa.query.autoconfigure.GraphQLShemaRegistrationImpl Maven / Gradle / Ivy

package com.introproventures.graphql.jpa.query.autoconfigure;

import graphql.schema.GraphQLSchema;
import java.util.LinkedHashSet;
import java.util.Set;

public class GraphQLShemaRegistrationImpl implements GraphQLShemaRegistration {

    Set managedGraphQLSchemas = new LinkedHashSet();

    public void register(GraphQLSchema graphQLSchema) {
        managedGraphQLSchemas.add(graphQLSchema);
    }

    public GraphQLSchema[] getManagedGraphQLSchemas() {
        return managedGraphQLSchemas.toArray(new GraphQLSchema[] {});
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy