org.eclipse.jetty.osgi.boot.jsp
Class TagLibOSGiConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.TagLibConfiguration
org.eclipse.jetty.osgi.boot.jsp.TagLibOSGiConfiguration
- All Implemented Interfaces:
- Configuration
public class TagLibOSGiConfiguration
- extends 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
Method Summary |
void |
preConfigure(WebAppContext context)
Override the preConfigure; locates the bundles that contain
tld files according to the value of the manifest header Require-TldBundle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagLibOSGiConfiguration
public TagLibOSGiConfiguration()
preConfigure
public void preConfigure(WebAppContext context)
throws Exception
- Override the preConfigure; locates the bundles that contain
tld files according to the value of the manifest header Require-TldBundle.
Set or add to the property TldProcessor.TLDResources the list of located jars
so that the super class will scan those.
- Specified by:
preConfigure
in interface Configuration
- Overrides:
preConfigure
in class TagLibConfiguration
- Parameters:
context
- The context to configure
- Throws:
Exception
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.