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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Initialize the application Do startup stuffvoid
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) void
void
void
setServices
(UserService userService, RoleService roleService) void
setUserRepositories
(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:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
initXbrickPlugIn
public void initXbrickPlugIn()Initialize the application Do startup stuff- Specified by:
initXbrickPlugIn
in interfacePluginLoader
-
prepareSidebar
public void prepareSidebar() -
prepareUserMenu
public void prepareUserMenu()
-