public interface ILayerListener
IAggregator.getName()
.Modifier and Type | Interface and Description |
---|---|
static class |
ILayerListener.EventType |
Modifier and Type | Method and Description |
---|---|
String |
layerBeginEndNotifier(ILayerListener.EventType type,
javax.servlet.http.HttpServletRequest request,
List<IModule> modules,
Set<String> dependentFeatures)
Listener notification callback that is called for the event specified by
type . |
String layerBeginEndNotifier(ILayerListener.EventType type, javax.servlet.http.HttpServletRequest request, List<IModule> modules, Set<String> dependentFeatures)
type
. If the returned string is not null, then the value
will be added to the response stream either before, or after, the layer
content, depending on the event type.type
- Indicates whether a layer is starting or finishing.request
- The HTTP request object.modules
- The list of modules in the layer. Note that modules added to
the layer by module builders using the
ModuleBuild.addExtraModule(String)
in the list. For the BEGIN_MODULE event, the list contains
only the single module that is being added to the layer.dependentFeatures
- Output - If the returned value depends on any features specified
in the request, then those features should be added to
dependentFeatures
. These will be included in the
construction of the cache key for the layer.Copyright © 2011-2015 IBM. All Rights Reserved.