Module org.apache.jena.fuseki.main
Package org.apache.jena.fuseki.main.sys
Interface FusekiStartStop
- All Known Subinterfaces:
- FusekiAutoModule,- FusekiModule
- All Known Implementing Classes:
- FMod_Admin,- FMod_BLANK,- FMod_GraphAccessCtl,- FMod_Prometheus,- FMod_Shiro,- FMod_UI
public interface FusekiStartStop
Interface for server starting and stopping.
 
At server start-up:
- serverBeforeStarting(FusekiServer) -- called before server.starthappens.
- serverAfterStarting(FusekiServer) -- called after server.starthappens.
- serverStopped(FusekiServer) -- call after server.stop, but only if a clean shutdown happens. Servers may simply exit without a shutdown phase. The JVM may exit or be killed without clean shutdown. Modules must not rely on a call toserverStoppedhappening.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidserverAfterStarting(FusekiServer server) Server started - called just after server.start happens, and before server .start() returns to the application.default voidserverBeforeStarting(FusekiServer server) Server starting - called just before server.start happens.default voidserverStopped(FusekiServer server) Server stopping.
- 
Method Details- 
serverBeforeStartingServer starting - called just before server.start happens.
- 
serverAfterStartingServer started - called just after server.start happens, and before server .start() returns to the application.
- 
serverStoppedServer stopping. Do not rely on this called; do not rely on this to clear up external resources. Usually there is no stop phase and the JVM just exits or is killed externally.
 
-