Package io.jmix.ui.sys
Class UiControllerDependencyInjector
java.lang.Object
io.jmix.ui.sys.UiControllerDependencyInjector
@Component("ui_UiControllerDependencyInjector")
public class UiControllerDependencyInjector
extends Object
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected UiControllerReflectionInspector - 
Constructor Summary
ConstructorsConstructorDescriptionUiControllerDependencyInjector(org.springframework.context.ApplicationContext applicationContext, UiControllerReflectionInspector reflectionInspector)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidassignValue(AnnotatedElement element, Object value, FrameOwner frameOwner) protected ObjectcreateInstallHandler(FrameOwner frameOwner, Method method, Class<?> targetObjectType) protected MessageBundlecreateMessageBundle(AnnotatedElement element, FrameOwner frameOwner, Frame frame) protected voiddoInjection(UiControllerReflectionInspector.InjectElement injectElement, FrameOwner frameOwner, ScreenOptions options) protected ObjectfindMethodTarget(Frame frame, String target) protected ObjectgetInjectedInstance(Class<?> type, String name, UiControllerReflectionInspector.InjectElement injectElement, FrameOwner frameOwner, ScreenOptions options) protected StringgetInjectionName(UiControllerReflectionInspector.InjectElement injectElement) protected Class<?>getInjectionType(UiControllerReflectionInspector.InjectElement injectElement) protected ObjectgetInstallTargetInstance(FrameOwner frameOwner, Install annotation, Frame frame) protected MethodHandlegetInstallTargetSetterMethod(Install annotation, Frame frame, Class<?> instanceClass, Method provideMethod) protected voidinitInstallMethods(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData) protected voidinitSubscribeListeners(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData) protected voidinitUiEventListeners(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData) voidinject(FrameOwner frameOwner, ScreenOptions options) protected voidinjectValues(FrameOwner frameOwner, ScreenOptions options, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData) protected booleanisInjectionRequired(UiControllerReflectionInspector.InjectElement injectElement)  
- 
Field Details
- 
applicationContext
protected org.springframework.context.ApplicationContext applicationContext - 
reflectionInspector
 
 - 
 - 
Constructor Details
- 
UiControllerDependencyInjector
@Autowired public UiControllerDependencyInjector(org.springframework.context.ApplicationContext applicationContext, UiControllerReflectionInspector reflectionInspector)  
 - 
 - 
Method Details
- 
inject
 - 
initInstallMethods
protected void initInstallMethods(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData)  - 
getInstallTargetSetterMethod
protected MethodHandle getInstallTargetSetterMethod(Install annotation, Frame frame, Class<?> instanceClass, Method provideMethod)  - 
getInstallTargetInstance
@Nullable protected Object getInstallTargetInstance(FrameOwner frameOwner, Install annotation, Frame frame)  - 
createInstallHandler
protected Object createInstallHandler(FrameOwner frameOwner, Method method, Class<?> targetObjectType)  - 
injectValues
protected void injectValues(FrameOwner frameOwner, ScreenOptions options, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData)  - 
initSubscribeListeners
protected void initSubscribeListeners(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData)  - 
findMethodTarget
 - 
initUiEventListeners
protected void initUiEventListeners(FrameOwner frameOwner, UiControllerReflectionInspector.ScreenIntrospectionData screenIntrospectionData)  - 
doInjection
protected void doInjection(UiControllerReflectionInspector.InjectElement injectElement, FrameOwner frameOwner, ScreenOptions options)  - 
getInjectionName
 - 
getInjectionType
 - 
isInjectionRequired
 - 
getInjectedInstance
@Nullable protected Object getInjectedInstance(Class<?> type, String name, UiControllerReflectionInspector.InjectElement injectElement, FrameOwner frameOwner, ScreenOptions options)  - 
createMessageBundle
protected MessageBundle createMessageBundle(AnnotatedElement element, FrameOwner frameOwner, Frame frame)  - 
assignValue
 
 -