Package 

Interface ComponentRegistry


  • 
    public interface ComponentRegistry<T extends Component>
    
                        

    组件注册中心用于注册和检索组件。

    Component Registry can be used to register and index components.

    • Method Summary

      Modifier and Type Method Description
      abstract List<T> values() 得到已注册的组件列表。Get registered component list.
      abstract Unit register(T component) 注册指定的组件。Register specific component.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • values

         abstract List<T> values()

        得到已注册的组件列表。

        Get registered component list.

      • register

         abstract Unit register(T component)

        注册指定的组件。

        Register specific component.