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
All Methods Instance Methods Abstract Methods 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 Detail
-
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
BeanContext createContext(Builder parent)
Create and return the BeanContext.
-
-