Class CommandFailbackRegistry

    • Field Detail

      • registryClassName

        protected String registryClassName
    • Constructor Detail

      • CommandFailbackRegistry

        public CommandFailbackRegistry​(URL url)
    • Method Detail

      • doUnsubscribe

        protected void doUnsubscribe​(URL url,
                                     NotifyListener listener)
      • doDiscover

        protected List<URL> doDiscover​(URL url)
      • subscribeService

        protected abstract void subscribeService​(URL url,
                                                 ServiceListener listener)
      • unsubscribeService

        protected abstract void unsubscribeService​(URL url,
                                                   ServiceListener listener)
      • discoverService

        protected abstract List<URL> discoverService​(URL url)
      • available

        public void available​(URL url)
        Description copied from interface: RegistryService
        set service status to available, so clients could use it
        Specified by:
        available in interface RegistryService
        Parameters:
        url - service url to be available, null means all services
      • unavailable

        public void unavailable​(URL url)
        Description copied from interface: RegistryService
        set service status to unavailable, client should not discover services of unavailable state
        Specified by:
        unavailable in interface RegistryService
        Parameters:
        url - service url to be unavailable, null means all services
      • doRegister

        protected abstract void doRegister​(URL url)
      • doUnregister

        protected abstract void doUnregister​(URL url)
      • doAvailable

        protected abstract void doAvailable​(URL url)
      • doUnavailable

        protected abstract void doUnavailable​(URL url)