接口 ServiceRegistryImplementor

    • 方法详细资料

      • locateServiceBinding

        <R extends ServiceServiceBinding<R> locateServiceBinding​(Class<R> serviceRole)
        Locate the binding for the given role. Should, generally speaking, look into parent registry if one.
        类型参数:
        R - generic return type.
        参数:
        serviceRole - The service role for which to locate a binding.
        返回:
        The located binding; may be null
      • destroy

        void destroy()
        Release resources
      • registerChild

        void registerChild​(ServiceRegistryImplementor child)
        When a registry is created with a parent, the parent is notified of the child via this callback.
      • deRegisterChild

        void deRegisterChild​(ServiceRegistryImplementor child)
        When a registry is created with a parent, the parent is notified of the child via this callback.