Module org.apache.jena.fuseki.main
Package org.apache.jena.fuseki.main.sys
Interface FusekiStartStop
- All Known Subinterfaces:
FusekiAutoModule
,FusekiModule
public interface FusekiStartStop
Interface for server starting and stopping.
At server start-up:
- serverBeforeStarting(FusekiServer) -- called before
server.start
happens. - serverAfterStarting(FusekiServer) -- called after
server.start
happens. - 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 toserverStopped
happening.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
serverAfterStarting
(FusekiServer server) Server started - called just after server.start happens, and before server .start() returns to the application.default void
serverBeforeStarting
(FusekiServer server) Server starting - called just before server.start happens.default void
serverStopped
(FusekiServer server) Server stopping.
-
Method Details
-
serverBeforeStarting
Server starting - called just before server.start happens. -
serverAfterStarting
Server started - called just after server.start happens, and before server .start() returns to the application. -
serverStopped
Server 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.
-