Uses of Interface
io.avaje.inject.BeanScopeBuilder
Packages that use BeanScopeBuilder
-
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.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.