org.dataloader.BatchLoaderContextProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-dataloader Show documentation
Show all versions of java-dataloader Show documentation
A pure Java 8 port of Facebook Dataloader
package org.dataloader;
import org.dataloader.annotations.PublicSpi;
/**
* A BatchLoaderContextProvider is used by the {@link org.dataloader.DataLoader} code to
* provide overall calling context to the {@link org.dataloader.BatchLoader} call. A common use
* case is for propagating user security credentials or database connection parameters for example.
*/
@PublicSpi
public interface BatchLoaderContextProvider {
/**
* @return a context object that may be needed in batch load calls
*/
Object getContext();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy