Class AnnotatedRegistry

  • All Implemented Interfaces:
    io.gridgo.framework.support.Registry

    public class AnnotatedRegistry
    extends java.lang.Object
    implements io.gridgo.framework.support.Registry
    • Field Summary

      • Fields inherited from interface io.gridgo.framework.support.Registry

        REGISTRY_SUB_PATTERN
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotatedRegistry​(java.lang.Class<?> applicationClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.gridgo.framework.support.Registry getRegistry()  
      java.lang.Object lookup​(java.lang.String name)  
      io.gridgo.framework.support.Registry register​(java.lang.String name, java.lang.Object answer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.gridgo.framework.support.Registry

        convertAnswer, lookup, lookupMandatory, lookupMandatory, substituteRegistries, substituteRegistriesRecursive, toString
    • Constructor Detail

      • AnnotatedRegistry

        public AnnotatedRegistry​(java.lang.Class<?> applicationClass)
    • Method Detail

      • lookup

        public java.lang.Object lookup​(java.lang.String name)
        Specified by:
        lookup in interface io.gridgo.framework.support.Registry
      • register

        public io.gridgo.framework.support.Registry register​(java.lang.String name,
                                                             java.lang.Object answer)
        Specified by:
        register in interface io.gridgo.framework.support.Registry
      • getRegistry

        public io.gridgo.framework.support.Registry getRegistry()