class GCPBeanPostProcessor implements BeanPostProcessor {

  @Override
  public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
    if (CommonBeans.BEAN_BASE_CONF.equals(beanName)) {
      Configuration baseConf = (Configuration) bean;
      setHadoopConfiguration(baseConf);
      return baseConf;
    }
    return bean;
  }

  @Autowired public  GCPBeanPostProcessor(
      GCPCredentialPathProvider credentialPathProvider,
      DistributedFileSystemPathProvider dfsPathProvider,
      BindGoogleHadoopFileSystem bindGoogleHadoopFileSystem,
      FileSystemFactory fileSystemFactory,
      GCPCredentialCopier credentialCopier);

}