Class OSGiWebappConstants

java.lang.Object
org.eclipse.jetty.osgi.OSGiWebappConstants

public class OSGiWebappConstants extends Object
OSGiWebappConstants Constants (MANIFEST headers, service properties etc) associated with deploying webapps into OSGi via Jetty.
  • Field Details

    • OSGI_WEB_SYMBOLICNAME

      public static final String OSGI_WEB_SYMBOLICNAME
      service property osgi.web.symbolicname. See OSGi r4
      See Also:
    • OSGI_WEB_VERSION

      public static final String OSGI_WEB_VERSION
      service property osgi.web.symbolicname. See OSGi r4
      See Also:
    • OSGI_WEB_CONTEXTPATH

      public static final String OSGI_WEB_CONTEXTPATH
      service property osgi.web.contextpath. See OSGi r4
      See Also:
    • OSGI_BUNDLECONTEXT

      public static final String OSGI_BUNDLECONTEXT
      See OSGi r4 p.427
      See Also:
    • RFC66_WAR_URL_SCHEME

      public static final String RFC66_WAR_URL_SCHEME
      url scheme to deploy war file as bundled webapp
      See Also:
    • RFC66_WEB_CONTEXTPATH

      public static final String RFC66_WEB_CONTEXTPATH
      Name of the header that defines the context path for the embedded webapp.
      See Also:
    • RFC66_JSP_EXTRACT_LOCATION

      public static final String RFC66_JSP_EXTRACT_LOCATION
      Name of the header that defines the path to the folder where the jsp files are extracted.
      See Also:
    • RFC66_OSGI_BUNDLE_CONTEXT

      public static final String RFC66_OSGI_BUNDLE_CONTEXT
      Name of the servlet context attribute that points to the bundle context.
      See Also:
    • JETTY_OSGI_BUNDLE

      public static final 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:
    • JETTY_CONTEXT_FILE_PATH

      public static final String JETTY_CONTEXT_FILE_PATH
      List of relative paths within the bundle to the jetty context files.
      See Also:
    • JETTY_WAR_RESOURCE_PATH

      public static final String JETTY_WAR_RESOURCE_PATH
      path within the bundle to the folder that contains the basic resources.
      See Also:
    • JETTY_WAR_FRAGMENT_RESOURCE_PATH

      public static final String JETTY_WAR_FRAGMENT_RESOURCE_PATH
      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:
    • JETTY_WAR_PREPEND_FRAGMENT_RESOURCE_PATH

      public static final String JETTY_WAR_PREPEND_FRAGMENT_RESOURCE_PATH
      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:
    • JETTY_BUNDLE_ROOT

      public static final String JETTY_BUNDLE_ROOT
      installation path of webapp bundle
      See Also:
    • JETTY_EXTRA_CLASSPATH

      public static final String JETTY_EXTRA_CLASSPATH
      Extra classpath
      See Also:
    • JETTY_WEB_XML_PATH

      public static final String JETTY_WEB_XML_PATH
      web.xml file path
      See Also:
    • JETTY_DEFAULT_WEB_XML_PATH

      public static final String JETTY_DEFAULT_WEB_XML_PATH
      defaultweb.xml file path
      See Also:
    • JETTY_BUNDLE_INSTALL_LOCATION_OVERRIDE

      public static final String 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:
    • JETTY_ENVIRONMENT

      public static final String JETTY_ENVIRONMENT
      Property naming the environment (eg ee8/ee9/ee10 etc)
      See Also:
    • REQUIRE_TLD_BUNDLE

      public static final String REQUIRE_TLD_BUNDLE
      Comma separated list of bundles that contain tld file used by the webapp.
      See Also:
    • SERVICE_PROP_REQUIRE_TLD_BUNDLE

      public static final 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:
    • WATERMARK

      public static final String WATERMARK
      See Also:
    • DEFAULT_PROTECTED_OSGI_TARGETS

      public static final String[] DEFAULT_PROTECTED_OSGI_TARGETS
      Set of extra dirs that must not be served by osgi webapps
  • Constructor Details

    • OSGiWebappConstants

      public OSGiWebappConstants()