Class SimpleJEEDependencyResolver


  • public class SimpleJEEDependencyResolver
    extends org.silverpeas.kernel.test.DependencyResolver
    A simple resolver for specific CDI types implied in dependencies injection.
    Author:
    mmoquillon
    • Constructor Detail

      • SimpleJEEDependencyResolver

        public SimpleJEEDependencyResolver()
    • Method Detail

      • resolveCustomDependency

        protected Optional<Object> resolveCustomDependency​(@NonNull
                                                           Field dependency,
                                                           @NonNull
                                                           Annotation... qualifiers)
                                                    throws org.silverpeas.kernel.exception.MultipleCandidateException,
                                                           org.silverpeas.kernel.test.util.SilverpeasReflectionException
        Overrides:
        resolveCustomDependency in class org.silverpeas.kernel.test.DependencyResolver
        Throws:
        org.silverpeas.kernel.exception.MultipleCandidateException
        org.silverpeas.kernel.test.util.SilverpeasReflectionException