public interface WebConsoleConstants
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_APP_ROOT
The name of the request attribute providing the absolute path of the
Web Console root (value is "felix.webconsole.appRoot").
|
static String |
ATTR_CONSOLE_VARIABLE_RESOLVER
The name of the request attribute holding the
VariableResolver
for the request (value is "felix.webconsole.variable.resolver"). |
static String |
ATTR_LABEL_MAP
The name of the request attribute providing a mapping of labels to page
titles of registered console plugins (value is "felix.webconsole.labelMap").
|
static String |
ATTR_PLUGIN_ROOT
The name of the request attribute providing the absolute path of the
current plugin (value is "felix.webconsole.pluginRoot").
|
static String |
PLUGIN_CSS_REFERENCES
The name of the service registration properties providing references
to addition CSS files that should be loaded when rendering the header
for a registered plugin.
|
static String |
PLUGIN_LABEL
The URI address label under which the OSGi Manager plugin is called by
the OSGi Manager (value is "felix.webconsole.label").
|
static String |
PLUGIN_TITLE
The title under which the OSGi Manager plugin is called by
the OSGi Manager (value is "felix.webconsole.label").
|
static String |
SERVICE_NAME
The name of the service to register as to be used as a "plugin" for
the OSGi Manager (value is "javax.servlet.Servlet").
|
static final String SERVICE_NAME
static final String PLUGIN_LABEL
This service registration property must be set to a single non-empty
String value. Otherwise the Servlet
services will
be ignored by the Felix Web Console and not be used as a plugin.
static final String PLUGIN_TITLE
For Servlet
services not extending the
AbstractWebConsolePlugin
this property is required for the
service to be used as a plugin. Otherwise the service is just ignored
by the Felix Web Console.
static final String PLUGIN_CSS_REFERENCES
This property is expected to be a single string value, array of string values or a Collection (or Vector) of string values.
This service registration property is only used for plugins registered
as SERVICE_NAME
services which do not extend the
AbstractWebConsolePlugin
. Extensions of the
AbstractWebConsolePlugin
should overwrite the
AbstractWebConsolePlugin.getCssReferences()
method to provide
additional CSS resources.
static final String ATTR_APP_ROOT
HttpServletRequest.getContextPath()
)
and the Web Console servlet path (from
HttpServletRequest.getServletPath()
,
/system/console
by default).
The type of this request attribute is String
.
static final String ATTR_PLUGIN_ROOT
ServletRequest.getContextPath()
),
the configured path of the web console root (/system/console
by default) and the plugin label PLUGIN_LABEL
.
The type of this request attribute is String
.
static final String ATTR_LABEL_MAP
AbstractWebConsolePlugin.renderTopNavigation(javax.servlet.http.HttpServletRequest, java.io.PrintWriter)
method does.
The type of this request attribute is Map
.
static final String ATTR_CONSOLE_VARIABLE_RESOLVER
VariableResolver
for the request (value is "felix.webconsole.variable.resolver").Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.