Class FunctionRegistry

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

      • FunctionRegistry

        public FunctionRegistry()
    • Method Detail

      • init

        public static void init()
      • put

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

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

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

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

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