Package org.eclipse.jetty.osgi.boot
Class OSGiWebappConstants
- java.lang.Object
-
- org.eclipse.jetty.osgi.boot.OSGiWebappConstants
-
public class OSGiWebappConstants extends java.lang.ObjectOSGiWebappConstants Constants (MANIFEST headers, service properties etc) associated with deploying webapps into OSGi via Jetty.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]DEFAULT_PROTECTED_OSGI_TARGETSSet of extra dirs that must not be served by osgi webappsstatic java.lang.StringJETTY_BUNDLE_INSTALL_LOCATION_OVERRIDEstatic java.lang.StringJETTY_BUNDLE_ROOTinstallation path of webapp bundlestatic java.lang.StringJETTY_CONTEXT_FILE_PATHList of relative pathes within the bundle to the jetty context files.static java.lang.StringJETTY_DEFAULT_WEB_XML_PATHstatic java.lang.StringJETTY_EXTRA_CLASSPATHstatic java.lang.StringJETTY_OSGI_BUNDLEName of the servlet context attribute that points to the bundle object.static java.lang.StringJETTY_WAR_FOLDER_PATHDeprecated.static java.lang.StringJETTY_WAR_FRAGMENT_FOLDER_PATHDeprecated.static java.lang.StringJETTY_WAR_FRAGMENT_RESOURCE_PATHstatic java.lang.StringJETTY_WAR_PATCH_FRAGMENT_FOLDER_PATHDeprecated.static java.lang.StringJETTY_WAR_PREPEND_FRAGMENT_RESOURCE_PATHstatic java.lang.StringJETTY_WAR_RESOURCE_PATHstatic java.lang.StringJETTY_WEB_XML_PATHstatic java.lang.StringOSGI_BUNDLECONTEXTSee OSGi r4 p.427static java.lang.StringOSGI_WEB_CONTEXTPATHservice property osgi.web.contextpath.static java.lang.StringOSGI_WEB_SYMBOLICNAMEservice property osgi.web.symbolicname.static java.lang.StringOSGI_WEB_VERSIONservice property osgi.web.symbolicname.static java.lang.StringREQUIRE_TLD_BUNDLEComma separated list of bundles that contain tld file used by the webapp.static java.lang.StringRFC66_JSP_EXTRACT_LOCATIONName of the header that defines the path to the folder where the jsp files are extracted.static java.lang.StringRFC66_OSGI_BUNDLE_CONTEXTName of the servlet context attribute that points to the bundle context.static java.lang.StringRFC66_WAR_URL_SCHEMEurl scheme to deploy war file as bundled webappstatic java.lang.StringRFC66_WEB_CONTEXTPATHName of the header that defines the context path for the embedded webapp.static java.lang.StringSERVICE_PROP_BUNDLE_INSTALL_LOCATION_OVERRIDEDeprecated.see JETTY_BUNDLE_INSTALL_LOCATION_OVERRIDEstatic java.lang.StringSERVICE_PROP_CONTEXT_FILE_PATHDeprecated.see JETTY_CONTEXT_FILE_PATHstatic java.lang.StringSERVICE_PROP_CONTEXT_PATHDeprecated.see RFC66_WEB_CONTEXTPATHstatic java.lang.StringSERVICE_PROP_DEFAULT_WEB_XML_PATHDeprecated.see JETTY_DEFAULT_WEB_XML_PATHstatic java.lang.StringSERVICE_PROP_EXTRA_CLASSPATHDeprecated.see JETTY_EXTRA_CLASSPATHstatic java.lang.StringSERVICE_PROP_REQUIRE_TLD_BUNDLEComma separated list of bundles that contain tld file used by the webapp.static java.lang.StringSERVICE_PROP_WARDeprecated.see JETTY_WAR_FOLDER_PATHstatic java.lang.StringSERVICE_PROP_WEB_XML_PATHDeprecated.see JETTY_WEB_XML_PATHstatic java.lang.StringWATERMARK
-
Constructor Summary
Constructors Constructor Description OSGiWebappConstants()
-
-
-
Field Detail
-
OSGI_WEB_SYMBOLICNAME
public static final java.lang.String OSGI_WEB_SYMBOLICNAME
service property osgi.web.symbolicname. See OSGi r4- See Also:
- Constant Field Values
-
OSGI_WEB_VERSION
public static final java.lang.String OSGI_WEB_VERSION
service property osgi.web.symbolicname. See OSGi r4- See Also:
- Constant Field Values
-
OSGI_WEB_CONTEXTPATH
public static final java.lang.String OSGI_WEB_CONTEXTPATH
service property osgi.web.contextpath. See OSGi r4- See Also:
- Constant Field Values
-
OSGI_BUNDLECONTEXT
public static final java.lang.String OSGI_BUNDLECONTEXT
See OSGi r4 p.427- See Also:
- Constant Field Values
-
RFC66_WAR_URL_SCHEME
public static final java.lang.String RFC66_WAR_URL_SCHEME
url scheme to deploy war file as bundled webapp- See Also:
- Constant Field Values
-
RFC66_WEB_CONTEXTPATH
public static final java.lang.String RFC66_WEB_CONTEXTPATH
Name of the header that defines the context path for the embedded webapp.- See Also:
- Constant Field Values
-
RFC66_JSP_EXTRACT_LOCATION
public static final java.lang.String RFC66_JSP_EXTRACT_LOCATION
Name of the header that defines the path to the folder where the jsp files are extracted.- See Also:
- Constant Field Values
-
RFC66_OSGI_BUNDLE_CONTEXT
public static final java.lang.String RFC66_OSGI_BUNDLE_CONTEXT
Name of the servlet context attribute that points to the bundle context.- See Also:
- Constant Field Values
-
JETTY_OSGI_BUNDLE
public static final java.lang.String JETTY_OSGI_BUNDLE
Name of the servlet context attribute that points to the bundle object. We can't always rely on the bundle-context as there might be no such thing.- See Also:
- Constant Field Values
-
JETTY_CONTEXT_FILE_PATH
public static final java.lang.String JETTY_CONTEXT_FILE_PATH
List of relative pathes within the bundle to the jetty context files.- See Also:
- Constant Field Values
-
JETTY_WAR_FOLDER_PATH
@Deprecated public static final java.lang.String JETTY_WAR_FOLDER_PATH
Deprecated.path within the bundle to the folder that contains the basic resources.- See Also:
- Constant Field Values
-
JETTY_WAR_RESOURCE_PATH
public static final java.lang.String JETTY_WAR_RESOURCE_PATH
- See Also:
- Constant Field Values
-
JETTY_WAR_FRAGMENT_FOLDER_PATH
@Deprecated public static final java.lang.String JETTY_WAR_FRAGMENT_FOLDER_PATH
Deprecated.path within a fragment hosted by a web-bundle to a folder that contains basic resources. the path is appended to the lookup path where jetty locates static resources- See Also:
- Constant Field Values
-
JETTY_WAR_FRAGMENT_RESOURCE_PATH
public static final java.lang.String JETTY_WAR_FRAGMENT_RESOURCE_PATH
- See Also:
- Constant Field Values
-
JETTY_WAR_PATCH_FRAGMENT_FOLDER_PATH
@Deprecated public static final java.lang.String JETTY_WAR_PATCH_FRAGMENT_FOLDER_PATH
Deprecated.path within a fragment hosted by a web-bundle to a folder that contains basic resources. The path is prefixed to the lookup path where jetty locates static resources: this will override static resources with the same name in the web-bundle.- See Also:
- Constant Field Values
-
JETTY_WAR_PREPEND_FRAGMENT_RESOURCE_PATH
public static final java.lang.String JETTY_WAR_PREPEND_FRAGMENT_RESOURCE_PATH
- See Also:
- Constant Field Values
-
JETTY_BUNDLE_ROOT
public static final java.lang.String JETTY_BUNDLE_ROOT
installation path of webapp bundle- See Also:
- Constant Field Values
-
SERVICE_PROP_CONTEXT_PATH
public static final java.lang.String SERVICE_PROP_CONTEXT_PATH
Deprecated.see RFC66_WEB_CONTEXTPATHweb app context path- See Also:
- Constant Field Values
-
SERVICE_PROP_WAR
public static final java.lang.String SERVICE_PROP_WAR
Deprecated.see JETTY_WAR_FOLDER_PATHPath to the web application base folder- See Also:
- Constant Field Values
-
SERVICE_PROP_EXTRA_CLASSPATH
public static final java.lang.String SERVICE_PROP_EXTRA_CLASSPATH
Deprecated.see JETTY_EXTRA_CLASSPATHExtra classpath- See Also:
- Constant Field Values
-
JETTY_EXTRA_CLASSPATH
public static final java.lang.String JETTY_EXTRA_CLASSPATH
- See Also:
- Constant Field Values
-
SERVICE_PROP_CONTEXT_FILE_PATH
public static final java.lang.String SERVICE_PROP_CONTEXT_FILE_PATH
Deprecated.see JETTY_CONTEXT_FILE_PATHjetty context file path- See Also:
- Constant Field Values
-
SERVICE_PROP_WEB_XML_PATH
public static final java.lang.String SERVICE_PROP_WEB_XML_PATH
Deprecated.see JETTY_WEB_XML_PATHweb.xml file path- See Also:
- Constant Field Values
-
JETTY_WEB_XML_PATH
public static final java.lang.String JETTY_WEB_XML_PATH
- See Also:
- Constant Field Values
-
SERVICE_PROP_DEFAULT_WEB_XML_PATH
public static final java.lang.String SERVICE_PROP_DEFAULT_WEB_XML_PATH
Deprecated.see JETTY_DEFAULT_WEB_XML_PATHdefaultweb.xml file path- See Also:
- Constant Field Values
-
JETTY_DEFAULT_WEB_XML_PATH
public static final java.lang.String JETTY_DEFAULT_WEB_XML_PATH
- See Also:
- Constant Field Values
-
SERVICE_PROP_BUNDLE_INSTALL_LOCATION_OVERRIDE
public static final java.lang.String SERVICE_PROP_BUNDLE_INSTALL_LOCATION_OVERRIDE
Deprecated.see JETTY_BUNDLE_INSTALL_LOCATION_OVERRIDEpath to the base folder that overrides the computed bundle installation location if not null useful to install webapps or jetty context files that are in fact not embedded in a bundle- See Also:
- Constant Field Values
-
JETTY_BUNDLE_INSTALL_LOCATION_OVERRIDE
public static final java.lang.String JETTY_BUNDLE_INSTALL_LOCATION_OVERRIDE
- See Also:
- Constant Field Values
-
REQUIRE_TLD_BUNDLE
public static final java.lang.String REQUIRE_TLD_BUNDLE
Comma separated list of bundles that contain tld file used by the webapp.- See Also:
- Constant Field Values
-
SERVICE_PROP_REQUIRE_TLD_BUNDLE
public static final java.lang.String SERVICE_PROP_REQUIRE_TLD_BUNDLE
Comma separated list of bundles that contain tld file used by the webapp. Both the name of the manifest header and the name of the service property.- See Also:
- Constant Field Values
-
WATERMARK
public static final java.lang.String WATERMARK
- See Also:
- Constant Field Values
-
DEFAULT_PROTECTED_OSGI_TARGETS
public static final java.lang.String[] DEFAULT_PROTECTED_OSGI_TARGETS
Set of extra dirs that must not be served by osgi webapps
-
-