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)
.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(BeanScopeBuilder builder) Apply the plugin to the scope builder.default Class<?>[]
provides()
Return the classes that the plugin provides.default Class<?>[]
Return the aspect classes that the plugin provides.
-
Field Details
-
EMPTY_CLASSES
Empty array of classes.
-
-
Method Details
-
apply
Apply the plugin to the scope builder. -
provides
Return the classes that the plugin provides. -
providesAspects
Return the aspect classes that the plugin provides.
-