@Deprecated public class DefaultBrandingPlugin extends java.lang.Object implements BrandingPlugin
DefaultBrandingPlugin
class is the default implementation
of the BrandingPlugin
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:
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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBrandName()
Deprecated.
|
java.lang.String |
getFavIcon()
Deprecated.
|
static DefaultBrandingPlugin |
getInstance()
Deprecated.
Retrieves the shared instance
|
java.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.
|
public static DefaultBrandingPlugin getInstance()
public java.lang.String getBrandName()
getBrandName
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getProductName()
getProductName
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getProductURL()
getProductURL
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getProductImage()
getProductImage
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getVendorName()
getVendorName
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getVendorURL()
getVendorURL
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getVendorImage()
getVendorImage
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getFavIcon()
getFavIcon
in interface org.apache.felix.webconsole.spi.BrandingPlugin
public java.lang.String getMainStyleSheet()
getMainStyleSheet
in interface org.apache.felix.webconsole.spi.BrandingPlugin
Copyright © 2010 - 2023 Adobe. All Rights Reserved