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
TagLibConfiguration.TagLibListener, TagLibConfiguration.TldDescriptor, TagLibConfiguration.TldProcessor
Configuration.ClassList
TLD_RESOURCES
ATTR
Constructor and Description |
---|
TagLibOSGiConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
preConfigure(WebAppContext context)
Override the preConfigure; locates the bundles that contain tld files
according to the value of the manifest header Require-TldBundle.
|
cloneConfigure, configure, deconfigure, postConfigure
destroy
public void preConfigure(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 Configuration
preConfigure
in class TagLibConfiguration
context
- The context to configureException
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.