|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.felix.webconsole.DefaultBrandingPlugin
public class DefaultBrandingPlugin
The 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 | http://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 | http://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 | |
|---|---|
java.lang.String |
getBrandName()
Returns an indicative name of the branding plugin. |
java.lang.String |
getFavIcon()
Returns the absolute path to an icon to be used as the web console "favicon". |
static DefaultBrandingPlugin |
getInstance()
Retrieves the shared instance |
java.lang.String |
getMainStyleSheet()
Returns the absolute path to a CSS file to be used as the main CSS for the basic admin site. |
java.lang.String |
getProductImage()
Returns an absolute path to an image to be rendered as the logo of the branding product. |
java.lang.String |
getProductName()
Returns the name of the product in which the web console is contained and to which the web console is branded. |
java.lang.String |
getProductURL()
Returns an (absolute) URL to a web site representing the product to which the web console is branded. |
java.lang.String |
getVendorImage()
Returns an absolute path to an image to be rendered as the logo of the branding product vendor. |
java.lang.String |
getVendorName()
Returns the name of the branding product vendor. |
java.lang.String |
getVendorURL()
Returns an (absolute) URL to the web site of the branding product vendor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DefaultBrandingPlugin getInstance()
public java.lang.String getBrandName()
BrandingPlugin
getBrandName in interface BrandingPluginBrandingPlugin.getBrandName()public java.lang.String getProductName()
BrandingPlugin
getProductName in interface BrandingPluginBrandingPlugin.getProductName()public java.lang.String getProductURL()
BrandingPlugin
getProductURL in interface BrandingPluginBrandingPlugin.getProductURL()public java.lang.String getProductImage()
BrandingPlugin
getProductImage in interface BrandingPluginBrandingPlugin.getProductImage()public java.lang.String getVendorName()
BrandingPlugin
getVendorName in interface BrandingPluginBrandingPlugin.getVendorName()public java.lang.String getVendorURL()
BrandingPlugin
getVendorURL in interface BrandingPluginBrandingPlugin.getVendorURL()public java.lang.String getVendorImage()
BrandingPlugin
getVendorImage in interface BrandingPluginBrandingPlugin.getVendorImage()public java.lang.String getFavIcon()
BrandingPlugin
getFavIcon in interface BrandingPluginBrandingPlugin.getFavIcon()public java.lang.String getMainStyleSheet()
BrandingPlugin
getMainStyleSheet in interface BrandingPluginBrandingPlugin.getMainStyleSheet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||