- All Superinterfaces:
InjectExtension
- All Known Subinterfaces:
AvajeModule.Custom
A Module containing dependencies that will be included in BeanScope.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceMarker for custom scoped modules. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidBuild all the beans.Class<?>[]classes()Return public classes of the beans that would be registered by this module.default String[]Return the type(s) of scopes that this module providesdefault String[]Return the type names of types this module explicitly provides to other modules.default String[]Return the type names of types this module needs to be provided externally or via other modules.default String[]Return the type names of packages this module needs to be provided via other modules.
-
Field Details
-
EMPTY_STRINGS
Empty array of strings.
-
-
Method Details
-
classes
Return public classes of the beans that would be registered by this module.This method allows code to use reflection to inspect the modules classes before the module is wired. This method is not required for DI wiring.
-
build
Build all the beans. -
providesBeans
Return the type names of types this module explicitly provides to other modules. -
definesScopes
Return the type(s) of scopes that this module provides -
requiresBeans
Return the type names of types this module needs to be provided externally or via other modules. -
requiresPackagesFromType
Return the type names of packages this module needs to be provided via other modules.
-