Class ProcedureRegistry


  • public class ProcedureRegistry
    extends java.lang.Object
    • Constructor Detail

      • ProcedureRegistry

        public ProcedureRegistry()
    • Method Detail

      • put

        public void put​(java.lang.String uri,
                        ProcedureFactory f)
        Insert a ProcedureFactory. Re-inserting with the same URI overwrites the old entry.
        Parameters:
        uri -
        f -
      • put

        public void put​(java.lang.String uri,
                        java.lang.Class<?> procClass)
        Insert a class that is the procedure implementation
        Parameters:
        uri - String URI
        procClass - Class for the procedure (new instance called).
      • isRegistered

        public boolean isRegistered​(java.lang.String uri)
      • remove

        public ProcedureFactory remove​(java.lang.String uri)
        Remove by URI
      • keys

        public java.util.Iterator<java.lang.String> keys()
        Iterate over URIs