public class EnvEntryDecoratorMapper extends ConfigDecoratorMapper
In some cases, it's desirable to allow a deployer, as opposed to a developer,
 to specify a decorator. In a .WAR file, this can be very difficult, since
 decorator mappings are specified in decorators.xml (more or less).
 This mapper corrects that by allowing two types of mapping. If the decorator
 name is found in an <env-entry>, the entry's value is used
 as the decorator reference.
Known Issues:
decorators.xml). This
   needs to be corrected for full functionality. If anyone has a suggestion
   on how...ConfigDecoratorMapperconfig, parent| Constructor and Description | 
|---|
| EnvEntryDecoratorMapper() | 
| Modifier and Type | Method and Description | 
|---|---|
| Decorator | getNamedDecorator(javax.servlet.http.HttpServletRequest request,
                 java.lang.String name)Retrieves the  Decoratorspecified by the decorator name. | 
| static java.lang.String | getStringResource(java.lang.String name)This pulls a value out of the web-app environment. | 
getDecorator, initpublic Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request, java.lang.String name)
Decorator
 specified by the decorator name. If it's not in the environment
 entries of the web application, assume it's a named decorator
 from decorators.xml.getNamedDecorator in interface DecoratorMappergetNamedDecorator in class ConfigDecoratorMapperpublic static java.lang.String getStringResource(java.lang.String name)