Package io.avaje.inject.spi
Interface BeanContextFactory
public interface BeanContextFactory
This is the service loader interface defining the bean contexts that can be created.
-
Method Summary
Modifier and Type Method Description BeanContextcreateContext(Builder parent)Create and return the BeanContext.String[]getDependsOn()Return the names of bean contexts (modules) that this is dependent on (they need to be built before this one).StringgetName()Return the name of the bean context (module) this will create.String[]getProvides()Return the name of module features this module provides.
-
Method Details
-
getName
Return the name of the bean context (module) this will create. -
getProvides
String[] getProvides()Return the name of module features this module provides. -
getDependsOn
String[] getDependsOn()Return the names of bean contexts (modules) that this is dependent on (they need to be built before this one). -
createContext
Create and return the BeanContext.
-