Package de.simonkerstan.ee.core.modules
Interface FrameworkModule
- All Known Implementing Classes:
CoreModule
public interface FrameworkModule
One module of the framework.
FOR INTERNAL USE ONLY. THE API CAN CHANGE AT ANY TIME.
-
Method Summary
Modifier and TypeMethodDescriptionList<BeanProvider<?>>Get all bean providers of this module.Get all class hooks of this module.Get all constructor hooks of this module.voidinit(Configuration configuration, ClasspathItem classpathItem) Initialize the module.Get all method hooks of this module.
-
Method Details
-
init
Initialize the module. This method will be called after class scanning, so the results of the hooks can be used.- Parameters:
configuration- Configuration of the frameworkclasspathItem- Classpath item (wrapper to access all classpath resources)
-
classHooks
Get all class hooks of this module.- Returns:
- Class hooks
-
constructorHooks
List<ConstructorHook> constructorHooks()Get all constructor hooks of this module.- Returns:
- Constructor hooks
-
methodHooks
List<MethodHook> methodHooks()Get all method hooks of this module.- Returns:
- Method hooks
-
beanProviders
List<BeanProvider<?>> beanProviders()Get all bean providers of this module. This method will be called after module initialization.- Returns:
- Bean providers
-