@Test void testGetDomainsAutoDetectNotLocalHost() throws Exception { XMLDomainList dom = new XMLDomainList(setUpDNSServer("local")); dom.configure(DomainListConfiguration.builder() .autoDetect(true) .autoDetectIp(false) .addConfiguredDomains(Domain.of("domain1.")) .defaultDomain(DEFAULT_DOMAIN)); assertThat(dom.getDomains()).hasSize(3); }
@Override public void configure(DomainListConfiguration domainListConfiguration) throws ConfigurationException { super.configure(domainListConfiguration); isConfigured = true; }
XMLDomainList extends AbstractDomainList implements Configurable { @Override public void configure(DomainListConfiguration domainListConfiguration) throws ConfigurationException { super.configure(domainListConfiguration); isConfigured = true; } }
XMLDomainList extends AbstractDomainList implements Configurable { @Override public void configure(DomainListConfiguration domainListConfiguration) throws ConfigurationException { super.configure(domainListConfiguration); isConfigured = true; } @Inject  XMLDomainList(DNSService dns); }
XMLDomainList extends AbstractDomainList implements Configurable { @Override public void configure(DomainListConfiguration domainListConfiguration) throws ConfigurationException { super.configure(domainListConfiguration); isConfigured = true; } @Inject  XMLDomainList(DNSService dns); @Override void configure(DomainListConfiguration domainListConfiguration); @Override void addDomain(Domain domain); @Override void doRemoveDomain(Domain domain); }
XMLDomainList extends AbstractDomainList implements Configurable { @Override public void configure(DomainListConfiguration domainListConfiguration) throws ConfigurationException { super.configure(domainListConfiguration); isConfigured = true; } @Inject  XMLDomainList(DNSService dns); @Override void configure(DomainListConfiguration domainListConfiguration); @Override void addDomain(Domain domain); @Override void doRemoveDomain(Domain domain);  }