Java Code Examples for

The following examples show how to use These examples are extracted from open source projects. 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 Project: zeppelin   Source File:    License: Apache License 2.0 5 votes vote down vote up
 * Get Banner and Welcome Message from provider. The provider has highest order 
 * {@link org.springframework.core.Ordered#getOrder()} will win.
 * @return BannerText[0]: Banner
 *         BannerText[1]: Welcome Message
 *         BannerText[2]: Version
 *         BannerText[3]: Product Name
private String[] getBannerText() {
  String[] bannerText = new String[4];
  BannerProvider provider = PluginUtils.getHighestPriorityProvider(this.applicationContext,
  bannerText[0] = provider.getBanner();
  bannerText[1] = provider.getWelcomeMessage();
  bannerText[2] = provider.getVersion();
  bannerText[3] = provider.getProviderName();
  return bannerText;