All Known Implementing Classes:
MethodHandlerDrivenProxyDecider
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 BeanProxyDecider
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldProxy(@NotNull BeanDefinition definition, @NotNull DependencyManager dependencyManager)
    Decide whether the given bean should be instantiated as a proxy.
  • Method Details

    • shouldProxy

      boolean shouldProxy(@NotNull @NotNull BeanDefinition definition, @NotNull @NotNull DependencyManager dependencyManager)
      Decide whether the given bean should be instantiated as a proxy.

      Implementations should be lightweight and side-effect free.