Package io.jmix.ui.sys
Class UiControllerDependencyManager
java.lang.Object
io.jmix.ui.sys.UiControllerDependencyManager
@Component("ui_UiControllerDependencyManager")
public class UiControllerDependencyManager
extends Object
Class collects controller dependency injectors and applies them to the screen controller.
-
Field Summary
Modifier and TypeFieldDescriptionprotected UiControllerDependencyInjector
protected List<ControllerDependencyInjector>
protected UiControllerReflectionInspector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
inject
(FrameOwner controller, ScreenOptions options) Injects elements usingControllerDependencyInjector
beans and baseUiControllerDependencyInjector
injector.void
setControllerDependencyInjector
(UiControllerDependencyInjector controllerDependencyInjector) void
setDependencyInjectors
(List<ControllerDependencyInjector> dependencyInjectors) void
setReflectionInspector
(UiControllerReflectionInspector reflectionInspector)
-
Field Details
-
reflectionInspector
-
controllerDependencyInjector
-
dependencyInjectors
-
-
Constructor Details
-
UiControllerDependencyManager
public UiControllerDependencyManager()
-
-
Method Details
-
setReflectionInspector
-
setControllerDependencyInjector
@Autowired public void setControllerDependencyInjector(UiControllerDependencyInjector controllerDependencyInjector) -
setDependencyInjectors
@Autowired(required=false) public void setDependencyInjectors(List<ControllerDependencyInjector> dependencyInjectors) -
inject
Injects elements usingControllerDependencyInjector
beans and baseUiControllerDependencyInjector
injector.- Parameters:
controller
- screen controlleroptions
- screen options
-