Package ch.psi.wica
Class WicaApplication
java.lang.Object
ch.psi.wica.WicaApplication
SpringBoot application for the web visualisation of points of interest within
a distributed control system.
-
Constructor Summary
ConstructorsConstructorDescriptionWicaApplication
(boolean testLoggingOnStartup, ConfigurationStatistics configurationStatistics, StatisticsCollectionService statisticsCollectionService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
static void
Application entry point(package private) void
testLogging
(String logLevel, int testDurationInMillis)
-
Constructor Details
-
WicaApplication
public WicaApplication(@Value("${wica.test-logging-on-startup}") boolean testLoggingOnStartup, @Autowired ConfigurationStatistics configurationStatistics, @Autowired StatisticsCollectionService statisticsCollectionService)
-
-
Method Details
-
main
Application entry point- Parameters:
args
- the command line arguments.
-
doSomethingAfterStartup
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void doSomethingAfterStartup() -
doSomethingOnFailure
@EventListener(org.springframework.boot.context.event.ApplicationFailedEvent.class) public void doSomethingOnFailure() -
doSomethingBeforeShutdown
@PreDestroy public void doSomethingBeforeShutdown() -
getStatistics
-
testLogging
-