@Test public void configureShouldNotThrowOnEmptyConfiguration() throws Exception { MailRepositoryStoreConfiguration configuration = MailRepositoryStoreConfiguration.parse(new BaseHierarchicalConfiguration()); repositoryStore = new MemoryMailRepositoryStore(urlStore, loader, configuration); repositoryStore.init(); }
public void init() throws Exception { LOGGER.info("JamesMailStore init... {}", this); for (MailRepositoryStoreConfiguration.Item item : configuration.getItems()) { initEntry(item); } }
MemoryMailRepositoryStore implements MailRepositoryStore, Startable { public void init() throws Exception { LOGGER.info("JamesMailStore init... {}", this); for (MailRepositoryStoreConfiguration.Item item : configuration.getItems()) { initEntry(item); } } }
MemoryMailRepositoryStore implements MailRepositoryStore, Startable { public void init() throws Exception { LOGGER.info("JamesMailStore init... {}", this); for (MailRepositoryStoreConfiguration.Item item : configuration.getItems()) { initEntry(item); } } @Inject  MemoryMailRepositoryStore(MailRepositoryUrlStore urlStore, MailRepositoryLoader mailRepositoryLoader, MailRepositoryStoreConfiguration configuration); }
MemoryMailRepositoryStore implements MailRepositoryStore, Startable { public void init() throws Exception { LOGGER.info("JamesMailStore init... {}", this); for (MailRepositoryStoreConfiguration.Item item : configuration.getItems()) { initEntry(item); } } @Inject  MemoryMailRepositoryStore(MailRepositoryUrlStore urlStore, MailRepositoryLoader mailRepositoryLoader, MailRepositoryStoreConfiguration configuration); @Override Optional<Protocol> defaultProtocol(); void init(); @Override Stream<MailRepositoryUrl> getUrls(); @Override Optional<MailRepository> get(MailRepositoryUrl url); @Override Stream<MailRepository> getByPath(MailRepositoryPath path); @Override MailRepository select(MailRepositoryUrl mailRepositoryUrl); }
MemoryMailRepositoryStore implements MailRepositoryStore, Startable { public void init() throws Exception { LOGGER.info("JamesMailStore init... {}", this); for (MailRepositoryStoreConfiguration.Item item : configuration.getItems()) { initEntry(item); } } @Inject  MemoryMailRepositoryStore(MailRepositoryUrlStore urlStore, MailRepositoryLoader mailRepositoryLoader, MailRepositoryStoreConfiguration configuration); @Override Optional<Protocol> defaultProtocol(); void init(); @Override Stream<MailRepositoryUrl> getUrls(); @Override Optional<MailRepository> get(MailRepositoryUrl url); @Override Stream<MailRepository> getByPath(MailRepositoryPath path); @Override MailRepository select(MailRepositoryUrl mailRepositoryUrl);  }