super(ObjectPostProcessor.QUIESCENT_POSTPROCESSOR, true);
}
@Override
protected ResourceLocalizer performBuild() throws Exception {
LocalResourcesFactoryBean fb = new LocalResourcesFactoryBean();
fb.setType(defaultType);
fb.setStagingDirectory(stagingDirectory);
fb.setVisibility(defaultVisibility);
fb.setConfiguration(configuration);
fb.setCopyEntries(copyEntries != null ? copyEntries : new ArrayList<LocalResourcesFactoryBean.CopyEntry>());
fb.setHdfsEntries(transferEntries != null ? transferEntries : new ArrayList<LocalResourcesFactoryBean.TransferEntry>());
for (Entry<String, Collection<TransferEntry>> entry : transferEntries2.entrySet()) {
fb.setHdfsEntries(entry.getKey(), entry.getValue());
}
if (rawEntries != null) {
fb.setRawCopyEntries(rawEntries);
}
fb.afterPropertiesSet();
return fb.getObject();
}