Class OSGiWebappConstants


  • public class OSGiWebappConstants
    extends java.lang.Object
    OSGiWebappConstants Constants (MANIFEST headers, service properties etc) associated with deploying webapps into OSGi via Jetty.
    • 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_CONTEXTPATH
        web 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_PATH
        Path 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_CLASSPATH
        Extra 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_PATH
        jetty 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_PATH
        web.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_PATH
        defaultweb.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_OVERRIDE
        path 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
      • 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
    • Constructor Detail

      • OSGiWebappConstants

        public OSGiWebappConstants()