Interface ManagedObjectDependency

    • Method Detail

      • setOverrideQualifier

        void setOverrideQualifier​(java.lang.String qualifier)
        Overrides the qualifier specified by the ManagedObjectSource.
        qualifier - Qualifier to use for the ManagedObjectDependency.
      • setSpecificType

        void setSpecificType​(java.lang.String type)

        Specifies a more specific type than the type specified by the ManagedObjectSource.

        Note: the type needs to be child of the actual type, otherwise it would cause ClassCastException on attempting to the use the resulting dependency. Hence the type can not be overridden but rather is able to be made more specific (particularly for auto wiring the dependency).

        type - Type to use for the ManagedObjectDependency.