java.lang.Object
org.apache.jena.fuseki.server.OperationRegistry
Registry of operations.
The registry (accessed via the servlet context) provides
- Content-type to
OperationviafindByContentType(String). OperationtoActionServiceimplementation viafindHandler(Operation)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyConfig(OperationRegistry src, OperationRegistry dst) Copy the configuration fromsrcintodst.static OperationRegistryCreate an emptyOperationRegistry.static OperationRegistryCreate aOperationRegistrywith the standard operations included.findByContentType(String contentType) Find theOperationfor aContent-Type, or return null.findHandler(Operation operation) Find theActionServiceimplementation for anOperation, or return null..static OperationRegistryget()Return the current server-wide standard configuration.static OperationRegistryget(jakarta.servlet.ServletContext servletContext) booleanisRegistered(Operation operation) voidregister(Operation operation, String contentType, ActionService action) Register a newOperation, with itsContent-Type(may be null, meaning no dispatch by content type), and the implementation handler.voidregister(Operation operation, ActionService action) Register a newOperationand the implementation handler.static voidset(jakarta.servlet.ServletContext cxt, OperationRegistry registry) voidunregister(Operation operation) Remove the registration for an operation.
-
Constructor Details
-
OperationRegistry
-
-
Method Details
-
get
Return the current server-wide standard configuration. It is copied into each new FusekiServer created. Changing it after a server has been created does not affect the server. -
copyConfig
Copy the configuration fromsrcintodst. -
createStd
Create aOperationRegistrywith the standard operations included. -
createEmpty
Create an emptyOperationRegistry. -
findByContentType
Find theOperationfor aContent-Type, or return null. -
findHandler
Find theActionServiceimplementation for anOperation, or return null.. -
isRegistered
-
register
Register a newOperationand the implementation handler.The application needs to enable an operation on a service endpoint.
Replaces any existing registration.
-
register
Register a newOperation, with itsContent-Type(may be null, meaning no dispatch by content type), and the implementation handler.The application needs to enable an operation on a service endpoint.
Replaces any existing registration.
-
unregister
Remove the registration for an operation. -
get
-
set
-