Class TLDServerClasspathContributor
java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.jsp.TLDServerClasspathContributor
- All Implemented Interfaces:
ServerClasspathContributor
- Author:
- janb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.Bundle
Find 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 etcboolean
Check that jsp is on the classpath
-
Constructor Details
-
TLDServerClasspathContributor
public TLDServerClasspathContributor()
-
-
Method Details
-
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 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:
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
-