Package oracle.dbtools.plugin.api.di
Interface DependencyInjectionModule
public interface DependencyInjectionModule
A Module is a collection of related services
- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidconfigureApplicationScope<wbr>(ScopeConfiguration scope)Enables the module to intercept and enhance the configuration of theApplicationScopedscopedefault voidconfigureRequestScope<wbr>(javax.servlet.http.HttpServletRequest request, ScopeConfiguration scope)Enables the module to intercept and enhance the configuration of theRequestScopedscopedefault ModuleDependenciesEnumerate theDependencyInjectionModules that this module depends onstatic ModuleDependenciesrequires<wbr>(Class<? extends DependencyInjectionModule>... dependencies)default TypeReflectionstypes()Enumerates the service provider types in this modulestatic TypeReflections
-
Method Details
-
configureApplicationScope
Enables the module to intercept and enhance the configuration of theApplicationScopedscope- Parameters:
scope- provides methods to configure the scope
-
configureRequestScope
default void configureRequestScope<wbr>(javax.servlet.http.HttpServletRequest request, ScopeConfiguration scope)Enables the module to intercept and enhance the configuration of theRequestScopedscope- Parameters:
request- TheHttpServletRequestthat is being servicedscope- provides methods to configure the scope
-
dependencies
Enumerate theDependencyInjectionModules that this module depends on- Returns:
- ModuleDependencies instance
-
types
Enumerates the service provider types in this module- Returns:
TypeReflectionsinstance enumerating each type in this module that offers a service
-
requires
@SafeVarargs static ModuleDependencies requires<wbr>(Class<? extends DependencyInjectionModule>... dependencies) -
types
-