Class Registry

  • All Implemented Interfaces:

    
    public final class Registry
    
                        

    FTL module registry.

    This will contain all the Verbs that are registered in the module and will be used to dispatch requests to the appropriate Verb.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Registry(String jvmModuleName)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getModuleName()
      final List<Ref> getRefs()
      final String getJvmModuleName()
      final Unit registerAll() Register all Verbs in the JVM package by walking the class graph.
      final Set<Ref> list()
      final String invoke(Context context, Ref verbRef, String request) Invoke a Verb with JSON-encoded payload and return its JSON-encoded response.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait