TldBundleDiscovererpublic class ContainerTldBundleDiscoverer extends java.lang.Object implements TldBundleDiscoverer
| Constructor | Description |
|---|---|
ContainerTldBundleDiscoverer() |
| Modifier and Type | Method | 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 TldBundleDiscovererjava.lang.Exceptionpublic boolean isJspAvailable()
public void fixJspFactory()
public org.osgi.framework.Bundle findJstlBundle()
Copyright © 1995–2017 Webtide. All rights reserved.