java.lang.Object
org.apache.jena.fuseki.mod.system.FMod_Ping
- All Implemented Interfaces:
FusekiActionCycle,FusekiBuildCycle,FusekiModule,FusekiServerArgsHandler,FusekiStartStop
Enable the
/$/ping endpoint via the command line.
(May be disabled from a Fuseki server builder.)-
Method Summary
Modifier and TypeMethodDescriptionstatic FusekiModulecreate()name()A display name to identify this module.voidserverArgsModify(org.apache.jena.cmd.CmdGeneral fusekiCmd, ServerArgs serverArgs) Called after the standard Fuseki main arguments have been added and before argument processing of the command line.voidserverArgsPrepare(org.apache.jena.cmd.CmdGeneral fusekiCmd, ServerArgs serverArgs) Called at the end command line argument processing.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.fuseki.main.sys.FusekiModule
configDataAccessPoint, configured, prepare, server, serverAfterStarting, serverArgsBuilder, serverBeforeStarting, serverConfirmReload, serverReload, serverStopped
-
Method Details
-
create
-
name
Description copied from interface:FusekiModuleA display name to identify this module. The name defaults to the class simple name.- Specified by:
namein interfaceFusekiModule
-
serverArgsModify
Description copied from interface:FusekiModuleCalled after the standard Fuseki main arguments have been added and before argument processing of the command line. This allows a Fuseki module to add custom arguments viaCmdLineArgs.addArg(String, String)andCmdGeneral.addModule(org.apache.jena.cmd.ArgModuleGeneral).This method can throw
CmdExceptionto indicate errors. This will cause a error message to be printed, without the stack trace. The server construction is aborted.- Specified by:
serverArgsModifyin interfaceFusekiModule- Specified by:
serverArgsModifyin interfaceFusekiServerArgsHandler- Parameters:
fusekiCmd- Fuseki Main command line argumentsserverArgs- Initial setting before command line processing.
-
serverArgsPrepare
Description copied from interface:FusekiModuleCalled at the end command line argument processing.This allows a Fuseki module to pull out custom arguments it has added and process them appropriately, including validating or modifying the
ServerArgsthat will be used to build the server. This method can set the set the dataset, in which case a command line dataset setup or configuration file server set up is not performed.This method can throw
CmdExceptionto indicate errors. This will cause a error message to be printed, without the stack trace. The server construction is aborted.- Specified by:
serverArgsPreparein interfaceFusekiModule- Specified by:
serverArgsPreparein interfaceFusekiServerArgsHandler- Parameters:
fusekiCmd- Fuseki MainserverArgs- Standard server argument settings, before building the server.
-