public interface Plugin
A Plugin that can be applied when creating a bean scope.
Typically, a plugin might provide a default dependency via BeanScopeBuilder.provideDefault(Type, java.util.function.Supplier).
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(BeanScopeBuilder builder) Apply the plugin to the scope builder.Class<?>[]provides()Return the classes that the plugin provides.
-
Method Details
-
provides
Return the classes that the plugin provides. -
apply
Apply the plugin to the scope builder.
-