org.eclipse.jetty.osgi.boot.jasper
Class PluggableWebAppRegistrationCustomizerImpl
java.lang.Object
org.eclipse.jetty.osgi.boot.jasper.PluggableWebAppRegistrationCustomizerImpl
- All Implemented Interfaces:
- WebappRegistrationCustomizer
public class PluggableWebAppRegistrationCustomizerImpl
- extends java.lang.Object
- implements WebappRegistrationCustomizer
Plug bundles that contains tld files so that jasper will discover them
and set them up in jetty.
For example: -Dorg.eclipse.jetty.osgi.tldbundles=org.springframework.web.servlet,com.opensymphony.module.sitemesh
Otherwise use an attribute to the WebAppDeployer
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
....
<Set name="tldBundles"><Property name="org.eclipse.jetty.osgi.tldsbundles" default="" /></Set>
<New>
|
Field Summary |
static java.lang.String |
SYS_PROP_TLD_BUNDLES
To plug into jasper bundles that contain tld files
please use a list of bundle's symbolic names:
-Djetty.osgi.tldbundles=org.springframework.web.servlet,com.opensymphony.module.sitemesh |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYS_PROP_TLD_BUNDLES
public static final java.lang.String SYS_PROP_TLD_BUNDLES
- To plug into jasper bundles that contain tld files
please use a list of bundle's symbolic names:
-Djetty.osgi.tldbundles=org.springframework.web.servlet,com.opensymphony.module.sitemesh
- See Also:
- Constant Field Values
PluggableWebAppRegistrationCustomizerImpl
public PluggableWebAppRegistrationCustomizerImpl()
getJarsWithTlds
public java.net.URL[] getJarsWithTlds(OSGiAppProvider provider,
BundleFileLocatorHelper locatorHelper)
throws java.lang.Exception
- Specified by:
getJarsWithTlds in interface WebappRegistrationCustomizer
- Returns:
- The location of the jars that contain tld files.
Jasper will discover them.
- Throws:
java.lang.Exception
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.