Class JMadGuiConfiguration
- java.lang.Object
-
- cern.accsoft.steering.jmad.gui.config.JMadGuiConfiguration
-
@Configuration @ImportResource("cern/accsoft/steering/jmad/gui/config/app-ctx-jmad-gui.xml") public class JMadGuiConfiguration extends java.lang.Object
Spring configuration for the jmad-gui beans. It expects the other necessary beans already in the context. If you need a ready to use version useJMadGuiStandaloneConfiguration
-
-
Constructor Summary
Constructors Constructor Description JMadGuiConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.event.SimpleApplicationEventMulticaster
applicationEventMulticaster()
Spring application events will be executed on this multicasterAsyncExecutor
asyncExecutor(org.springframework.context.ApplicationEventPublisher eventPublisher)
org.apache.log4j.Appender
guiLogAppender(GuiLogPanel guiLogPanel)
GuiLogPanel
guiLogPanel()
void
setupLog4jLoggersAfterInit(org.springframework.context.event.ContextRefreshedEvent evt)
-
-
-
Method Detail
-
applicationEventMulticaster
@Bean("applicationEventMulticaster") public org.springframework.context.event.SimpleApplicationEventMulticaster applicationEventMulticaster()
Spring application events will be executed on this multicaster
-
guiLogPanel
@Bean("guiLogPanel") @Lazy public GuiLogPanel guiLogPanel()
-
guiLogAppender
@Bean("guiLogAppender") @Lazy public org.apache.log4j.Appender guiLogAppender(GuiLogPanel guiLogPanel)
-
asyncExecutor
@Bean("asyncExecutor") public AsyncExecutor asyncExecutor(org.springframework.context.ApplicationEventPublisher eventPublisher)
-
setupLog4jLoggersAfterInit
@EventListener public void setupLog4jLoggersAfterInit(org.springframework.context.event.ContextRefreshedEvent evt)
-
-