org.springframework.data.mongodb.gridfs.GridFsOperations Java Examples

The following examples show how to use org.springframework.data.mongodb.gridfs.GridFsOperations. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MongoDBArtifactStoreAutoConfiguration.java    From hawkbit-extensions with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * @return Default {@link ArtifactRepository} implementation.
 */
@Bean
ArtifactRepository artifactRepository(final GridFsOperations gridFs) {
    return new MongoDBArtifactStore(gridFs);
}
 
Example #2
Source File: MongoDBArtifactStore.java    From hawkbit-extensions with Eclipse Public License 1.0 4 votes vote down vote up
MongoDBArtifactStore(final GridFsOperations gridFs) {
    this.gridFs = gridFs;
}