All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sippnex.fileblade.config.FilebladeConfigureAdapter Maven / Gradle / Ivy

package com.sippnex.fileblade.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@ComponentScan(basePackages = {"com.sippnex.fileblade", "com.sippnex.fileblade.services"})
@EntityScan("com.sippnex.fileblade.entities")
@EnableJpaRepositories("com.sippnex.fileblade.repositories")
public class FilebladeConfigureAdapter {

    private FilebladeConfig config;

    public FilebladeConfigureAdapter() {
        this.config = this.configure(new FilebladeConfigBuilder());
    }

    final public FilebladeConfig getConfig() {
        return this.config;
    }

    protected FilebladeConfig configure(FilebladeConfigBuilder configBuilder) {
        return configBuilder
                .errorMessage("An Error occured!")
                .build();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy