Class TestResourcesService
java.lang.Object
io.micronaut.testresources.server.TestResourcesService
Main entry point for the server.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThe application context configurer.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckTimeout(io.micronaut.runtime.server.EmbeddedServer server, ExpiryManager manager) Periodically checks if the server is expired and if so, shuts it down.static void
- 
Constructor Details- 
TestResourcesServicepublic TestResourcesService()
 
- 
- 
Method Details- 
main
- 
checkTimeout@Scheduled(fixedRate="1m") public void checkTimeout(io.micronaut.runtime.server.EmbeddedServer server, ExpiryManager manager) Periodically checks if the server is expired and if so, shuts it down.- Parameters:
- server- the server
- manager- the expiry manager
 
 
-