@Service
@Property(name="service.ranking",
intValue=4000)
public class RequestAttributeInjector
extends Object
implements org.apache.sling.models.spi.Injector, org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory
| Constructor and Description |
|---|
RequestAttributeInjector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2 |
createAnnotationProcessor(AnnotatedElement element) |
String |
getName() |
Object |
getValue(Object adaptable,
String name,
Type declaredType,
AnnotatedElement element,
org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry) |
@Nonnull public String getName()
getName in interface org.apache.sling.models.spi.Injectorpublic Object getValue(@Nonnull Object adaptable, String name, @Nonnull Type declaredType, @Nonnull AnnotatedElement element, @Nonnull org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry)
getValue in interface org.apache.sling.models.spi.Injectorpublic org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2 createAnnotationProcessor(AnnotatedElement element)
createAnnotationProcessor in interface org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactoryCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.