Class ActionsImpl

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

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

    • configurations

      @Autowired(required=false) protected List<ActionsConfiguration> configurations
    • classManager

      @Autowired protected ClassManager classManager
    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
    • classes

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

    • ActionsImpl

      public ActionsImpl()
  • Method Details

    • create

      public Action create(String actionTypeId)
      Specified by:
      create in interface Actions
    • create

      public Action create(String actionTypeId, String id)
      Specified by:
      create in interface Actions
    • create

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

      public <T extends Action> T create(Class<T> actionTypeClass, 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)
    • autowireContext

      protected void autowireContext(Action instance)
    • 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>