Class OperationRegistry

    • Method Detail

      • 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.
      • 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​(java.lang.String contentType)
        Find the Operation for a Content-Type, 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,
                             java.lang.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​(javax.servlet.ServletContext servletContext)
      • set

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