Package io.avaje.inject.spi
Interface BeanScopeFactory
public interface BeanScopeFactory
This is the service loader interface defining the bean scope.
-
Method Summary
Modifier and Type Method Description voidbuild(Builder builder)Build all the beans.String[]getDependsOn()Return the names of bean scopes (modules) that this is dependent on (they need to be built before this one).StringgetName()Return the name of the bean scope (module) this will create.String[]getProvides()Return the name of module features this module provides.
-
Method Details
-
getName
Return the name of the bean scope (module) this will create. -
getProvides
String[] getProvides()Return the name of module features this module provides. -
getDependsOn
String[] getDependsOn()Return the names of bean scopes (modules) that this is dependent on (they need to be built before this one). -
build
Build all the beans.
-