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

graphql.spring.web.servlet.OnDemandDataLoaderRegistry Maven / Gradle / Ivy

There is a newer version: 1.18
Show newest version
package graphql.spring.web.servlet;

import org.dataloader.DataLoaderRegistry;

/**
 * This interface allows to create a Spring Bean that will provide a {@link DataLoaderRegistry}, on demand. It can be
 * used by the {@link GraphQLInvocation} bean to associate a new {@link DataLoaderRegistry} for each request.
 * 
 * @author etienne-sf
 */
public interface OnDemandDataLoaderRegistry {

	/**
	 * Retrieves a new DataLoaderRegistry, that can be associated to each request.
	 * 
	 * @return
	 */
	public DataLoaderRegistry getNewDataLoaderRegistry();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy