Package org.xbricks.common.bootstrap
Class PluginLoaderImpl
java.lang.Object
org.xbricks.common.bootstrap.PluginLoaderImpl
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
,PluginLoader
@Component
public class PluginLoaderImpl
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, PluginLoader
-
Constructor Summary
ConstructorDescriptionPluginLoaderImpl
(org.springframework.context.MessageSource messages, XBConfigurationService configService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initialize the application Do startup stuffvoid
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) void
void
-
Constructor Details
-
PluginLoaderImpl
public PluginLoaderImpl(org.springframework.context.MessageSource messages, XBConfigurationService configService)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
prepareSidebar
public void prepareSidebar() -
prepareUserMenu
public void prepareUserMenu() -
initXbrickPlugIn
public void initXbrickPlugIn()Initialize the application Do startup stuff- Specified by:
initXbrickPlugIn
in interfacePluginLoader
-