org.eclipse.virgo.snaps.core.internal.webapp.config
Interface FilterMappingDefinition

All Known Subinterfaces:
ServletNameFilterMappingDefinition, UrlPatternFilterMappingDefinition

public interface FilterMappingDefinition

A FilterMappingDefinition represents the common portions of a web.xml <filter-mapping> entry.

Concurrent Semantics
Implementations must be thread-safe.

See Also:
UrlPatternFilterMappingDefinition, ServletNameFilterMappingDefinition

Method Summary
 java.util.Set<FilterDispatcherType> getFilterDispatcherTypes()
          Returns the Set of dispatcher types for which the mapped filter is enabled per the <dispatcher> elements in the definition's configuration.
 java.lang.String getFilterName()
          Returns the name of the filter referenced in this filter mapping.
 

Method Detail

getFilterName

java.lang.String getFilterName()
Returns the name of the filter referenced in this filter mapping.

Returns:
the name of the filter.

getFilterDispatcherTypes

java.util.Set<FilterDispatcherType> getFilterDispatcherTypes()
Returns the Set of dispatcher types for which the mapped filter is enabled per the <dispatcher> elements in the definition's configuration.

Returns:
the mapping's dispatcher types