Interface BeanProxyDecider
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldProxy(@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.
-