Interface BeanEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int NORMAL
      Priority of normal bean.
      static int PRIMARY
      Priority of @Primary bean.
      static int SECONDARY
      Priority of @Secondary bean.
      static int SUPPLIED
      Priority of externally supplied bean.
    • Method Detail

      • type

        Class<?> type()
        The bean instance type.
      • priority

        int priority()
        Return the priority indicating if the bean is Supplied Primary, Normal or Secondary.
      • keys

        Set<Stringkeys()
        Return the type keys for this bean.

        This is the set of type, interface types and annotation types that the entry is registered for.

      • hasKey

        boolean hasKey​(Class<?> type)
        Return true if the entry has a key for this type.

        This is true if the keys contains the canonical name of the given type.

        Parameters:
        type - The type to match. Can be any type including concrete, interface or annotation type.