Class Route53Binder

  • All Implemented Interfaces:
    AwsBinder

    @Singleton
    public class Route53Binder
    extends java.lang.Object
    implements AwsBinder
    Route53 binder implementation. Will look for a free domain in the list of service url to bind itself to via Route53.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NULL_DOMAIN  
    • Constructor Summary

      Constructors 
      Constructor Description
      Route53Binder​(EurekaServerConfig serverConfig, com.netflix.discovery.EurekaClientConfig clientConfig, com.netflix.appinfo.ApplicationInfoManager applicationInfoManager)  
      Route53Binder​(java.lang.String registrationHostname, EurekaServerConfig serverConfig, com.netflix.discovery.EurekaClientConfig clientConfig, com.netflix.appinfo.ApplicationInfoManager applicationInfoManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void shutdown()  
      void start()  
      • Methods inherited from class java.lang.Object

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

      • Route53Binder

        @Inject
        public Route53Binder​(EurekaServerConfig serverConfig,
                             com.netflix.discovery.EurekaClientConfig clientConfig,
                             com.netflix.appinfo.ApplicationInfoManager applicationInfoManager)
      • Route53Binder

        public Route53Binder​(java.lang.String registrationHostname,
                             EurekaServerConfig serverConfig,
                             com.netflix.discovery.EurekaClientConfig clientConfig,
                             com.netflix.appinfo.ApplicationInfoManager applicationInfoManager)
        Parameters:
        registrationHostname - the hostname to register under the Route53 CNAME
    • Method Detail

      • start

        @PostConstruct
        public void start()
        Specified by:
        start in interface AwsBinder
      • shutdown

        @PreDestroy
        public void shutdown()
        Specified by:
        shutdown in interface AwsBinder