Class OperationRegistry

java.lang.Object
org.apache.jena.fuseki.server.OperationRegistry

public class OperationRegistry extends Object
Registry of operations. The registry (accessed via the servlet context) provides
  • Constructor Details

  • Method Details

    • get

      public static OperationRegistry 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

      public static void copyConfig(OperationRegistry src, OperationRegistry dst)
      Copy the configuration from src into dst.
    • createStd

      public static OperationRegistry createStd()
      Create a OperationRegistry with the standard operations included.
    • createEmpty

      public static OperationRegistry createEmpty()
      Create an empty OperationRegistry.
    • findByContentType

      public Operation findByContentType(String contentType)
      Find the Operation for a Content-Type, or return null.
    • findHandler

      public ActionService findHandler(Operation operation)
      Find the ActionService implementation for an Operation, or return null..
    • isRegistered

      public boolean isRegistered(Operation operation)
    • register

      public void register(Operation operation, ActionService action)
      Register a new Operation and the implementation handler.

      The application needs to enable an operation on a service endpoint.

      Replaces any existing registration.

    • register

      public void register(Operation operation, String contentType, ActionService action)
      Register a new Operation, with its Content-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

      public void unregister(Operation operation)
      Remove the registration for an operation.
    • get

      public static OperationRegistry get(jakarta.servlet.ServletContext servletContext)
    • set

      public static void set(jakarta.servlet.ServletContext cxt, OperationRegistry registry)