in modules/vfs-class-loader/src/main/java/org/apache/accumulo/classloader/vfs/context/ReloadingVFSContextClassLoaderFactory.java [290:317]
protected AccumuloVFSClassLoader create(Context c) {
LOG.debug("Creating ReloadingVFSClassLoader for context: {})", c.getName());
return new AccumuloVFSClassLoader(
ReloadingVFSContextClassLoaderFactory.class.getClassLoader()) {
@Override
protected String getClassPath() {
return c.getConfig().getClassPath();
}
@Override
protected boolean isPostDelegationModel() {
LOG.debug("isPostDelegationModel called, returning {}", c.getConfig().getPostDelegate());
return c.getConfig().getPostDelegate();
}
@Override
protected long getMonitorInterval() {
return c.getConfig().getMonitorIntervalMs();
}
@Override
protected boolean isVMInitialized() {
// The classloader is not being set using
// `java.system.class.loader`, so the VM is initialized.
return true;
}
};
}