Package org.xbricks.heimdall.bootstrap
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize the application Do startup stuffvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) voidvoidvoidsetServices(UserService userService, RoleService roleService) voidsetUserRepositories(User_infoRepository inforepository)
-
Constructor Details
-
HeimdallBootstrap
public HeimdallBootstrap(org.springframework.core.env.Environment env)
-
-
Method Details
-
setUserRepositories
-
setServices
-
onApplicationEvent
public void onApplicationEvent(@Nullable org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
initXbrickPlugIn
public void initXbrickPlugIn()Initialize the application Do startup stuff- Specified by:
initXbrickPlugInin interfacePluginLoader
-
prepareSidebar
public void prepareSidebar() -
prepareUserMenu
public void prepareUserMenu()
-