Package io.jmix.ui.sys
Class ActionsImpl
java.lang.Object
io.jmix.ui.sys.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 TypeMethodDescriptionprotected void
autowireContext
(Action instance) <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)
-
Field Details
-
configurations
-
classManager
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
classes
-
-
Constructor Details
-
ActionsImpl
public ActionsImpl()
-
-
Method Details
-
create
-
create
-
create
-
create
-
createAction
-
createAction
-
autowireContext
-
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>
-