本文整理汇总了Java中org.springframework.boot.builder.SpringApplicationBuilder.sources方法的典型用法代码示例。如果您正苦于以下问题:Java SpringApplicationBuilder.sources方法的具体用法?Java SpringApplicationBuilder.sources怎么用?Java SpringApplicationBuilder.sources使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.springframework.boot.builder.SpringApplicationBuilder
的用法示例。
在下文中一共展示了SpringApplicationBuilder.sources方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
/**
* set a default to use when no profile is configured.
*/
DefaultProfileUtil.addDefaultProfile(application.application());
return application.sources(StoreApp.class);
}
示例2: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Application.class);
}
示例3: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
/**
* set a default to use when no profile is configured.
*/
DefaultProfileUtil.addDefaultProfile(application.application());
return application.sources(SentryApp.class);
}
示例4: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
/**
* set a default to use when no profile is configured.
*/
DefaultProfileUtil.addDefaultProfile(application.application());
return application.sources(JHipsterRegistry.class);
}
示例5: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
/**
* set a default to use when no profile is configured.
*/
DefaultProfileUtil.addDefaultProfile(application.application());
return application.sources(SpringIoApp.class);
}
示例6: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
protected SpringApplicationBuilder configure ( SpringApplicationBuilder application ) {
return application.sources( Application.class );
}
示例7: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(RenrenApplication.class);
}
示例8: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(CalendarApplication.class);
}
示例9: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Swagger2SpringBoot.class);
}
示例10: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Start.class);
}
示例11: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(DemoApplication.class);
}
示例12: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(HRClientBootApplication.class);
}
示例13: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(ConfigServiceApplication.class);
}
示例14: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(CalendarClientApplication.class);
}
示例15: configure
import org.springframework.boot.builder.SpringApplicationBuilder; //导入方法依赖的package包/类
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
logger.info("HR applications starting...");
return application.sources(HRBootApplication.class);
}