public class ContainerTldBundleDiscoverer extends java.lang.Object implements TldBundleDiscoverer
Constructor and Description |
---|
ContainerTldBundleDiscoverer() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
fixJspFactory()
Some versions of JspFactory do Class.forName, which probably won't work in an
OSGi environment.
|
java.net.URL[] |
getUrlsForBundlesWithTlds(DeploymentManager deploymentManager,
BundleFileLocatorHelper locatorHelper)
Check the System property "org.eclipse.jetty.osgi.tldbundles" for names of
bundles that contain tlds and convert to URLs.
|
boolean |
isJspAvailable()
Check that jsp is on the classpath
|
public java.net.URL[] getUrlsForBundlesWithTlds(DeploymentManager deploymentManager, BundleFileLocatorHelper locatorHelper) throws java.lang.Exception
getUrlsForBundlesWithTlds
in interface TldBundleDiscoverer
deploymentManager
- The DeploymentManager
instance to uselocatorHelper
- the BundleFileLocatorHelper
instance to usejava.lang.Exception
- In case of errors during resolving TLDs filespublic boolean isJspAvailable()
true
if jsp is available in the environmentpublic void fixJspFactory()
public org.osgi.framework.Bundle findJstlBundle()
Copyright © 1995–2023 Webtide. All rights reserved.