Uses of Interface
io.avaje.inject.BeanScopeBuilder
Packages that use BeanScopeBuilder
Package
Description
Avaje Inject API - see
BeanScope.Building bean scope objects expected to only be used by generated code.
-
Uses of BeanScopeBuilder in io.avaje.inject
Subinterfaces of BeanScopeBuilder in io.avaje.injectModifier and TypeInterfaceDescriptionstatic interfaceExtends the building with testing specific support for mocks and spies.Methods in io.avaje.inject that return BeanScopeBuilderModifier and TypeMethodDescription<D> BeanScopeBuilderAdd a supplied bean instance with the given injection type (typically an interface type).<D> BeanScopeBuilderAdd a supplied bean instance with a generic type.<D> BeanScopeBuilderAdd a supplied bean instance with the given name and injection type.<D> BeanScopeBuilderAdd a supplied bean instance with the given name and generic type.Supply a bean to the scope that will be used instead of any similar bean in the scope.static BeanScopeBuilderBeanScope.builder()Build a bean scope with options for shutdown hook and supplying external dependencies.BeanScopeBuilder.classLoader(ClassLoader classLoader) Set the ClassLoader to use when loading modules.Specify the modules to include in dependency injection.static BeanScopeBuilderBeanScope.newBuilder()Deprecated.Use the given BeanScope as the parent.Use the given BeanScope as the parent additionally specifying if beans added will effectively override beans that exist in the parent scope.default <D> BeanScopeBuilderBeanScopeBuilder.provideDefault(Type type, jakarta.inject.Provider<D> provider) Add a supplied bean provider that acts as a default fallback for a dependency.<D> BeanScopeBuilderBeanScopeBuilder.provideDefault(String name, Type type, jakarta.inject.Provider<D> provider) Add a supplied bean provider that acts as a default fallback for a dependency.BeanScopeBuilder.shutdownHook(boolean shutdownHook) Create the bean scope registering a shutdown hook (defaults to false, no shutdown hook).default <D> BeanScopeBuilderDeprecated.default <D> BeanScopeBuilderDeprecated.default <D> BeanScopeBuilderDeprecated.default <D> BeanScopeBuilderDeprecated.default BeanScopeBuilderDeprecated.default BeanScopeBuilderBeanScopeBuilder.withModules(Module... modules) Deprecated.default BeanScopeBuilderBeanScopeBuilder.withParent(BeanScope parent) Deprecated.default BeanScopeBuilderBeanScopeBuilder.withParent(BeanScope parent, boolean parentOverride) Deprecated.default BeanScopeBuilderBeanScopeBuilder.withShutdownHook(boolean shutdownHook) Deprecated. -
Uses of BeanScopeBuilder in io.avaje.inject.spi
Methods in io.avaje.inject.spi with parameters of type BeanScopeBuilderModifier and TypeMethodDescriptionvoidPlugin.apply(BeanScopeBuilder builder) Apply the plugin to the scope builder.