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
ConstructorsConstructorDescriptionPluginLoaderImpl(org.springframework.context.MessageSource messages, XBConfigurationService configService) -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize the application Do startup stuffvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) voidvoid
-
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:
onApplicationEventin 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:
initXbrickPlugInin interfacePluginLoader
-