Class BindingsInjector

  • All Implemented Interfaces:
    org.apache.sling.models.spi.Injector, org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory, org.apache.sling.models.spi.ValuePreparer

    public class BindingsInjector
    extends Object
    implements org.apache.sling.models.spi.Injector, org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory, org.apache.sling.models.spi.ValuePreparer
    • Constructor Detail

      • BindingsInjector

        public BindingsInjector()
    • Method Detail

      • getName

        @NotNull
        public @NotNull String getName()
        Specified by:
        getName in interface org.apache.sling.models.spi.Injector
      • getValue

        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)
        Specified by:
        getValue in interface org.apache.sling.models.spi.Injector
      • createAnnotationProcessor

        public org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor2 createAnnotationProcessor​(AnnotatedElement element)
        Specified by:
        createAnnotationProcessor in interface org.apache.sling.models.spi.injectorspecific.StaticInjectAnnotationProcessorFactory
      • prepareValue

        @NotNull
        public @NotNull Object prepareValue​(@NotNull
                                            @NotNull Object adaptable)
        Specified by:
        prepareValue in interface org.apache.sling.models.spi.ValuePreparer