@Target(value=TYPE) @Retention(value=CLASS) @Documented public @interface SlingFilter
Modifier and Type | Required Element and Description |
---|---|
int |
order
The order of the filter.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
description
This is generally used as a description for the object described by the
meta type.
|
boolean |
generateComponent
Whether to generate a default SCR component tag with.
|
boolean |
generateService
Whether to generate a default SCR service tag with
"interface=javax.servlet.Filter".
|
String |
label
This is generally used as a title for the object described by the meta
type.
|
boolean |
metatype
Whether Metatype Service data is generated or not.
|
String |
name
Defines the Component name also used as the PID for the Configuration
Admin Service.
|
String |
pattern
Restrict the filter to paths that match the supplied regular expression.
|
SlingFilterScope[] |
scope
The scopes of a filter.
|
public abstract int order
service.ranking
property with the given value.
public abstract String pattern
public abstract SlingFilterScope[] scope
public abstract boolean generateComponent
Component
annotation can be added manually with defined whatever configuration
needed.public abstract boolean generateService
Service
annotation can be added
manually with defined whatever configuration needed.public abstract String name
public abstract boolean metatype
metatype.xml
file for this component. Otherwise no Metatype
Service data is generated for this component.public abstract String label
public abstract String description
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.