Class TLDServerClasspathContributor

java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.jsp.TLDServerClasspathContributor
All Implemented Interfaces:
ServerClasspathContributor

public class TLDServerClasspathContributor extends Object implements ServerClasspathContributor
Author:
janb
  • Constructor Details

    • TLDServerClasspathContributor

      public TLDServerClasspathContributor()
  • Method Details

    • getScannableBundles

      public List<org.osgi.framework.Bundle> getScannableBundles()
      Description copied from interface: ServerClasspathContributor
      Get bundles that should be on the Server classpath, and should be scanned for annotations/tlds/resources etc
      Specified by:
      getScannableBundles in interface ServerClasspathContributor
      Returns:
      list of Bundles to be scanned and put on server classpath
    • isJspAvailable

      public boolean isJspAvailable()
      Check that jsp is on the classpath
      Returns:
      true if jsp is available in the environment
    • findJstlBundle

      public org.osgi.framework.Bundle findJstlBundle()
      Find the bundle that contains a jstl implementation class, which assumes that the jstl taglibs will be inside the same bundle.
      Returns:
      Bundle contains the jstl implementation class