Package io.jmix.flowui.impl
Class ActionsImpl
java.lang.Object
io.jmix.flowui.impl.ActionsImpl
- All Implemented Interfaces:
Actions
,EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ClassManager
protected List<ActionsConfiguration>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Action>
T<T extends Action>
Tprotected Action
createAction
(Class<? extends Action> actionClass) protected Action
createAction
(Class<? extends Action> actionClass, String id) void
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent event) resolveActionClass
(Class<? extends Action> actionClass) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setClassManager
(ClassManager classManager) void
setConfigurations
(List<ActionsConfiguration> configurations)
-
Field Details
-
configurations
-
classManager
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
classes
-
-
Constructor Details
-
ActionsImpl
public ActionsImpl()
-
-
Method Details
-
setConfigurations
-
setClassManager
-
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
create
-
create
-
createAction
-
createAction
-
resolveActionClass
-
onApplicationEvent
public void onApplicationEvent(@Nonnull org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-