|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=SOURCE) @Documented public @interface SlingFilter
Marks servlet classes as SCR component, and allows to add a filter to Sling's processing. This annotation generates to private properties for the order and the scope. By default it also generates a component and a service tag, but this generation can be overriden.
Required Element Summary | |
---|---|
int |
order
The order of the filter. |
Optional Element Summary | |
---|---|
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. |
SlingFilterScope |
scope
The scope of a filter. |
Element Detail |
---|
public abstract int order
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |