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 directlyTheDefaultBrandingPlugin
class is the default implementation of theBrandingPlugin
interface. 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.properties
is 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.String
getBrandName()
Deprecated.java.lang.String
getFavIcon()
Deprecated.static DefaultBrandingPlugin
getInstance()
Deprecated.Retrieves the shared instancejava.lang.String
getMainStyleSheet()
Deprecated.java.lang.String
getProductImage()
Deprecated.java.lang.String
getProductName()
Deprecated.java.lang.String
getProductURL()
Deprecated.java.lang.String
getVendorImage()
Deprecated.java.lang.String
getVendorName()
Deprecated.java.lang.String
getVendorURL()
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:
getBrandName
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getFavIcon
public java.lang.String getFavIcon()
Deprecated.- Specified by:
getFavIcon
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getMainStyleSheet
public java.lang.String getMainStyleSheet()
Deprecated.- Specified by:
getMainStyleSheet
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductImage
public java.lang.String getProductImage()
Deprecated.- Specified by:
getProductImage
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductName
public java.lang.String getProductName()
Deprecated.- Specified by:
getProductName
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getProductURL
public java.lang.String getProductURL()
Deprecated.- Specified by:
getProductURL
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorImage
public java.lang.String getVendorImage()
Deprecated.- Specified by:
getVendorImage
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorName
public java.lang.String getVendorName()
Deprecated.- Specified by:
getVendorName
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
getVendorURL
public java.lang.String getVendorURL()
Deprecated.- Specified by:
getVendorURL
in interfaceorg.apache.felix.webconsole.spi.BrandingPlugin
-
-