- All Superinterfaces:
AvajeModule,InjectExtension
- All Known Subinterfaces:
Module.Custom
Deprecated, for removal: This API element is subject to removal in a future version.
A Module that can be included in BeanScope.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated, for removal: This API element is subject to removal in a future version.Marker for custom scoped modules. -
Field Summary
Fields inherited from interface io.avaje.inject.spi.AvajeModule
EMPTY_CLASSES -
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.Return the classes that this module provides that we allow other modules to auto depend on.default Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.Return the aspects that this module provides.default Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.These are the classes that this module requires for wiring that are provided by other external modules (that are in the classpath at compile time).default Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.These are the apects that this module requires whose implementations are provided by other external modules (that are in the classpath at compile time).voidDeprecated, for removal: This API element is subject to removal in a future version.Build all the beans.Class<?>[]classes()Deprecated, for removal: This API element is subject to removal in a future version.Return public classes of the beans that would be registered by this module.default Class<?>[]provides()Deprecated, for removal: This API element is subject to removal in a future version.Return the set of types this module explicitly provides to other modules.default Class<?>[]requires()Deprecated, for removal: This API element is subject to removal in a future version.Return the types this module needs to be provided externally or via other modules.default Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.Return the packages this module needs to be provided via other modules.
-
Method Details
-
provides
Deprecated, for removal: This API element is subject to removal in a future version.Return the set of types this module explicitly provides to other modules.- Specified by:
providesin interfaceAvajeModule
-
requires
Deprecated, for removal: This API element is subject to removal in a future version.Return the types this module needs to be provided externally or via other modules.- Specified by:
requiresin interfaceAvajeModule
-
requiresPackages
Deprecated, for removal: This API element is subject to removal in a future version.Return the packages this module needs to be provided via other modules.- Specified by:
requiresPackagesin interfaceAvajeModule
-
autoProvides
Deprecated, for removal: This API element is subject to removal in a future version.Return the classes that this module provides that we allow other modules to auto depend on.This is a convenience when using multiple modules that is otherwise controlled manually by explicitly using
InjectModule.provides().- Specified by:
autoProvidesin interfaceAvajeModule
-
autoProvidesAspects
Deprecated, for removal: This API element is subject to removal in a future version.Return the aspects that this module provides.This is a convenience when using multiple modules that we otherwise manually specify via
InjectModule.provides().- Specified by:
autoProvidesAspectsin interfaceAvajeModule
-
autoRequires
Deprecated, for removal: This API element is subject to removal in a future version.These are the classes that this module requires for wiring that are provided by other external modules (that are in the classpath at compile time).This is a convenience when using multiple modules that is otherwise controlled manually by explicitly using
InjectModule.requires()orInjectModule.requiresPackages().- Specified by:
autoRequiresin interfaceAvajeModule
-
autoRequiresAspects
Deprecated, for removal: This API element is subject to removal in a future version.These are the apects that this module requires whose implementations are provided by other external modules (that are in the classpath at compile time).- Specified by:
autoRequiresAspectsin interfaceAvajeModule
-
classes
Deprecated, for removal: This API element is subject to removal in a future version.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.
- Specified by:
classesin interfaceAvajeModule
-
build
Deprecated, for removal: This API element is subject to removal in a future version.Build all the beans.- Specified by:
buildin interfaceAvajeModule
-
AvajeModule