本文整理匯總了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);
}