public AbstractJsonProctorLoader( @Nonnull final Class<?> cls, @Nonnull final ProctorSpecification specification, @Nonnull final FunctionMapper functionMapper) { super(cls, specification, functionMapper); final ProctorLoaderDetail detailObject = new ProctorLoaderDetail(); VarExporter.forNamespace(detailObject.getClass().getSimpleName()).export(detailObject, ""); }
public BackgroundJobManager(final ThreadPoolExecutor executor) { final VarExporter exporter = VarExporter.forNamespace(getClass().getSimpleName()); exporter.export(new ThreadPoolExecutorVarExports(executor), "pool-"); this.service = executor; }