Interface ReferenceRegistry

  • All Known Subinterfaces:
    ReferenceResolver
    All Known Implementing Classes:
    SimpleReferenceResolver
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ReferenceRegistry
    Bind objects to registry for later reference. Objects declared in registry can be injected in various ways (e.g. annotations). Usually used in combination with ReferenceResolver.
    Author:
    Christoph Deppisch
    • Method Detail

      • getName

        static String getName​(BindToRegistry bindAnnotation,
                              String defaultName)
        Get proper bean name for future bind operation on registry.
        Parameters:
        bindAnnotation -
        defaultName -
        Returns: