public class TagLibOSGiConfiguration
extends org.eclipse.jetty.webapp.TagLibConfiguration
Replacement for TagLibConfiguration for the OSGi integration.
In the case of a WAB, tlds can be located in OSGi bundles that are dependencies of the WAB. It is expected that each WAB lists the symbolic-names of the bundles that contain tld files. The list is defined as the value of the header 'Require-TldBundle'
Discussions about this are logged in https://bugs.eclipse.org/bugs/show_bug.cgi?id=306971
| Constructor and Description |
|---|
TagLibOSGiConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
preConfigure(org.eclipse.jetty.webapp.WebAppContext context)
Override the preConfigure; locates the bundles that contain tld files
according to the value of the manifest header Require-TldBundle.
|
public void preConfigure(org.eclipse.jetty.webapp.WebAppContext context)
throws Exception
Set or add to the property TldProcessor.TLDResources the list of located jars so that the super class will scan those.
preConfigure in interface org.eclipse.jetty.webapp.ConfigurationpreConfigure in class org.eclipse.jetty.webapp.TagLibConfigurationExceptionCopyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.