mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 18:59:35 +02:00
Add dagger map for injecting DnsWriter implementations
This is one of several CLs in a sequence for allowing per-TLD DNS implementations. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129445641
This commit is contained in:
parent
770fd35e20
commit
a620d06239
24 changed files with 173 additions and 215 deletions
|
@ -25,7 +25,7 @@ import com.google.common.collect.ImmutableList;
|
|||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.net.InternetDomainName;
|
||||
import google.registry.config.ConfigModule.Config;
|
||||
import google.registry.model.dns.DnsWriter;
|
||||
import google.registry.dns.writer.DnsWriter;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
import google.registry.model.domain.secdns.DelegationSignerData;
|
||||
import google.registry.model.host.HostResource;
|
||||
|
@ -75,6 +75,12 @@ import org.xbill.DNS.Update;
|
|||
*/
|
||||
public class DnsUpdateWriter implements DnsWriter {
|
||||
|
||||
/**
|
||||
* The name of the pricing engine, as used in {@code Registry.dnsWriter}. Remember to change
|
||||
* the value on affected Registry objects to prevent runtime failures.
|
||||
*/
|
||||
public static final String NAME = "DnsUpdateWriter";
|
||||
|
||||
private final Duration dnsTimeToLive;
|
||||
private final DnsMessageTransport transport;
|
||||
private final Clock clock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue