public class OSGiServiceInjector extends Object implements org.apache.sling.models.spi.Injector, org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory, org.apache.sling.models.spi.AcceptsNullName
| Constructor and Description |
|---|
OSGiServiceInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.framework.BundleContext ctx) |
org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2 |
createAnnotationProcessor(AnnotatedElement element) |
@NotNull String |
getName() |
Object |
getValue(@NotNull Object adaptable,
String name,
@NotNull Type type,
@NotNull AnnotatedElement element,
@NotNull org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry) |
Object |
getValue(@NotNull Object adaptable,
String name,
@NotNull Type type,
@NotNull AnnotatedElement element,
@NotNull org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry,
@Nullable org.osgi.framework.BundleContext modelContext) |
@NotNull public @NotNull String getName()
getName in interface org.apache.sling.models.spi.Injectorpublic void activate(org.osgi.framework.BundleContext ctx)
public Object getValue(@NotNull @NotNull Object adaptable, String name, @NotNull @NotNull Type type, @NotNull @NotNull AnnotatedElement element, @NotNull @NotNull org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry)
getValue in interface org.apache.sling.models.spi.Injectorpublic Object getValue(@NotNull @NotNull Object adaptable, String name, @NotNull @NotNull Type type, @NotNull @NotNull AnnotatedElement element, @NotNull @NotNull org.apache.sling.models.spi.DisposalCallbackRegistry callbackRegistry, @Nullable @Nullable org.osgi.framework.BundleContext modelContext)
adaptable - name - type - element - callbackRegistry - modelContext - public org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2 createAnnotationProcessor(AnnotatedElement element)
createAnnotationProcessor in interface org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactoryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.