Package org.springframework.boot.config.processor.mapper

Examples of org.springframework.boot.config.processor.mapper.ConfigMetadataRepositoryMapper


      harvester.harvest(conditionElement);
    }
  }

  private void writeConfigMetadataRepository(ConfigMetadataRepository repository) throws IOException {
    ConfigMetadataRepositoryMapper mapper = new ConfigMetadataRepositoryJsonMapper();
    FileObject fileObject = env.getFiler().createResource(
        StandardLocation.CLASS_OUTPUT, "", JSON_METADATA_LOCATION);
    OutputStream out = fileObject.openOutputStream();
    try {
      mapper.writeRepository(repository, out);
    }
    finally {
      out.close();
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.config.processor.mapper.ConfigMetadataRepositoryMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.