- All Implemented Interfaces:
FusekiActionCycle,FusekiBuildCycle,FusekiModule,FusekiServerArgsCustomiser,FusekiStartStop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FusekiModulecreate()name()A display name to identify this module.voidprepare(FusekiServer.Builder builder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Called at the start of "build" step.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.voidserverReload(FusekiServer server) A running server has been asked to reload its configuration.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, server, serverAfterStarting, serverBeforeStarting, serverConfirmReload, serverStoppedMethods inherited from interface org.apache.jena.fuseki.main.sys.FusekiServerArgsCustomiser
serverArgsBuilder
-
Constructor Details
-
FMod_UI
public FMod_UI()
-
-
Method Details
-
create
-
name
Description copied from interface:FusekiModuleA display name to identify this module.This defaults to the Java simple class name of module.
- Specified by:
namein interfaceFusekiBuildCycle- Specified by:
namein interfaceFusekiModule
-
serverArgsModify
Description copied from interface:FusekiServerArgsCustomiserCalled 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 interfaceFusekiServerArgsCustomiser- Parameters:
fusekiCmd- Fuseki Main command line argumentsserverArgs- Initial setting before command line processing.
-
serverArgsPrepare
Description copied from interface:FusekiServerArgsCustomiserCalled 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 interfaceFusekiServerArgsCustomiser- Parameters:
fusekiCmd- Fuseki MainserverArgs- Standard server argument settings, before building the server.
-
prepare
public void prepare(FusekiServer.Builder builder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Description copied from interface:FusekiModuleCalled at the start of "build" step. The builder has been set according to the configuration of API calls and parsing configuration files. No build actions have been carried out yet. The module can make further FusekiServer.FusekiServer.Buildercalls. The "configModel" parameter is set if a configuration file was used otherwise it is null.This is the main point for customization of server.
It can add and modify the data services being built, and also add servlets and servlet filters.
- Specified by:
preparein interfaceFusekiBuildCycle- Specified by:
preparein interfaceFusekiModule- Parameters:
builder- The FusekiServer.BuilderdatasetNames- The names of DataServices configured by API calls and configuration file.
-
serverReload
A running server has been asked to reload its configuration.Certain server feature will not change.
- http and https connectiosn are preserved.
- Port number
- JVM process
- Specified by:
serverReloadin interfaceFusekiBuildCycle- Specified by:
serverReloadin interfaceFusekiModule
-