- All Superinterfaces:
InjectExtension,InjectPlugin
Deprecated, for removal: This API element is subject to removal in a future version.
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 inherited from interface io.avaje.inject.spi.InjectPlugin
EMPTY_CLASSES -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(BeanScopeBuilder builder) Deprecated, for removal: This API element is subject to removal in a future version.Apply the plugin to the scope builder.default Class<?>[]provides()Deprecated, for removal: This API element is subject to removal in a future version.Return the classes that the plugin provides.default Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.Return the aspect classes that the plugin provides.
-
Method Details
-
apply
Deprecated, for removal: This API element is subject to removal in a future version.Apply the plugin to the scope builder.- Specified by:
applyin interfaceInjectPlugin
-
provides
Deprecated, for removal: This API element is subject to removal in a future version.Return the classes that the plugin provides.- Specified by:
providesin interfaceInjectPlugin
-
providesAspects
Deprecated, for removal: This API element is subject to removal in a future version.Return the aspect classes that the plugin provides.- Specified by:
providesAspectsin interfaceInjectPlugin
-
InjectPlugin