Class HeimdallBootstrap

java.lang.Object
org.xbricks.heimdall.bootstrap.HeimdallBootstrap
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, PluginLoader

@Component public class HeimdallBootstrap extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, PluginLoader
  • Constructor Details

    • HeimdallBootstrap

      public HeimdallBootstrap(org.springframework.core.env.Environment env)
  • Method Details

    • setUserRepositories

      @Autowired public void setUserRepositories(User_infoRepository inforepository)
    • setServices

      @Autowired public void setServices(UserService userService, RoleService roleService)
    • onApplicationEvent

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

      public void initXbrickPlugIn()
      Initialize the application Do startup stuff
      Specified by:
      initXbrickPlugIn in interface PluginLoader
    • prepareSidebar

      public void prepareSidebar()
    • prepareUserMenu

      public void prepareUserMenu()