Package sting.interceptors
Annotation Interface InterceptorBinding
Marks an annotation type as an interceptor binding.
Interceptor bindings are applied to service interfaces, @Injectable implementation classes, or
@Fragment provider methods. Sting resolves them at compile time and generates direct service-interface
proxies.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe canonical dotted name of the@Injectableinterceptor implementation.
-
Element Details
-
priority
int priorityThe interceptor priority.Lower priorities run outermost. Equal effective priorities for one intercepted service are compile errors.
- Returns:
- the interceptor priority.
-
-
-
implementedBy
The canonical dotted name of the@Injectableinterceptor implementation.Leave empty only when a processor-path interceptor plugin claims the binding.
- Returns:
- the canonical dotted name of the interceptor implementation.
- Default:
- ""
-