Package org.apache.felix.webconsole
Class DefaultBrandingPlugin
- java.lang.Object
-
- org.apache.felix.webconsole.DefaultBrandingPlugin
-
- All Implemented Interfaces:
BrandingPlugin,org.apache.felix.webconsole.spi.BrandingPlugin
@Deprecated public class DefaultBrandingPlugin extends java.lang.Object implements BrandingPlugin
Deprecated.Plugins should never use the branding plugin directlyTheDefaultBrandingPluginclass is the default implementation of theBrandingPlugininterface. The singleton instance of this class is used as branding plugin if no BrandingPlugin service is registered in the system.This default implementation provides Apache Felix based default branding as follows:
Web Console Branding Properties Name Property Name Default Value Brand Name webconsole.brand.name Apache Felix Web Console Product Name webconsole.product.name Apache Felix Product URL webconsole.product.url https://felix.apache.org Product Image webconsole.product.image /res/imgs/logo.png Vendor Name webconsole.vendor.name The Apache Software Foundation Vendor URL webconsole.vendor.url https://www.apache.org Vendor Image webconsole.vendor.image /res/imgs/logo.png Favourite Icon webconsole.favicon /res/imgs/favicon.ico Main Stylesheet webconsole.stylesheet /res/ui/admin.css If a properties file
META-INF/webconsole.propertiesis available through the class loader of this class, the properties overwrite the default settings according to the property names listed above. The easiest way to add such a properties file is to provide a fragment bundle with the file.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBrandName()Deprecated.java.lang.StringgetFavIcon()Deprecated.static DefaultBrandingPlugingetInstance()Deprecated.Retrieves the shared instancejava.lang.StringgetMainStyleSheet()Deprecated.java.lang.StringgetProductImage()Deprecated.java.lang.StringgetProductName()Deprecated.java.lang.StringgetProductURL()Deprecated.java.lang.StringgetVendorImage()Deprecated.java.lang.StringgetVendorName()Deprecated.java.lang.StringgetVendorURL()Deprecated.
-
-
-
Method Detail
-
getInstance
public static DefaultBrandingPlugin getInstance()
Deprecated.Retrieves the shared instance- Returns:
- the singleton instance of the object
-
getBrandName
public java.lang.String getBrandName()
Deprecated.- Specified by:
getBrandNamein interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getFavIcon
public java.lang.String getFavIcon()
Deprecated.- Specified by:
getFavIconin interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getMainStyleSheet
public java.lang.String getMainStyleSheet()
Deprecated.- Specified by:
getMainStyleSheetin interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductImage
public java.lang.String getProductImage()
Deprecated.- Specified by:
getProductImagein interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductName
public java.lang.String getProductName()
Deprecated.- Specified by:
getProductNamein interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductURL
public java.lang.String getProductURL()
Deprecated.- Specified by:
getProductURLin interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorImage
public java.lang.String getVendorImage()
Deprecated.- Specified by:
getVendorImagein interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorName
public java.lang.String getVendorName()
Deprecated.- Specified by:
getVendorNamein interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorURL
public java.lang.String getVendorURL()
Deprecated.- Specified by:
getVendorURLin interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
-