Class ActionsImpl

java.lang.Object
io.jmix.flowui.impl.ActionsImpl
All Implemented Interfaces:
Actions, EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

@Component("flowui_Actions") public class ActionsImpl extends Object implements Actions, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
  • Field Details

    • configurations

      protected List<ActionsConfiguration> configurations
    • classManager

      protected ClassManager classManager
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • classes

      protected Map<String,Class<? extends Action>> classes
  • Constructor Details

    • ActionsImpl

      public ActionsImpl()
  • Method Details

    • setConfigurations

      @Autowired(required=false) public void setConfigurations(List<ActionsConfiguration> configurations)
    • setClassManager

      @Autowired public void setClassManager(ClassManager classManager)
    • setApplicationContext

      @Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • create

      public <T extends Action> T create(String actionTypeId)
      Specified by:
      create in interface Actions
    • create

      public <T extends Action> T create(String actionTypeId, String id)
      Specified by:
      create in interface Actions
    • createAction

      protected Action createAction(Class<? extends Action> actionClass)
    • createAction

      protected Action createAction(Class<? extends Action> actionClass, String id)
    • resolveActionClass

      protected Class<? extends Action> resolveActionClass(Class<? extends Action> actionClass)
    • onApplicationEvent

      public void onApplicationEvent(@Nonnull org.springframework.context.event.ContextRefreshedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>