Class TLDServerClasspathContributor
java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.jsp.TLDServerClasspathContributor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundleFind the bundle that contains a jstl implementation class, which assumes that the jstl taglibs will be inside the same bundle.List<org.osgi.framework.Bundle> Get bundles that should be on the Server classpath, and should be scanned for annotations/tlds/resources etcbooleanCheck that jsp is on the classpath
-
Constructor Details
-
TLDServerClasspathContributor
public TLDServerClasspathContributor()
-
-
Method Details
-
getScannableBundles
Description copied from interface:ServerClasspathContributorGet bundles that should be on the Server classpath, and should be scanned for annotations/tlds/resources etc- Specified by:
getScannableBundlesin interfaceServerClasspathContributor- Returns:
- list of Bundles to be scanned and put on server classpath
-
isJspAvailable
public boolean isJspAvailable()Check that jsp is on the classpath- Returns:
trueif 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
-