@Test public void testInit() throws ConfigurationException { configObject.init(); assertEquals(ImmutableSet.of("POST", "PUT", "DELETE", "PATCH"), configObject.getMethodsToLog()); assertTrue(configObject.getPathsToLog().matcher("foo").matches()); assertTrue(configObject.getAddressesToLog().matcher("foo").matches()); assertTrue(configObject.getContentToLog().matcher("foo").matches()); }
@PostConstruct public void init() throws ConfigurationException { parseProperties(null); }
TSDRRestconfCollectorConfig implements ManagedService { @PostConstruct public void init() throws ConfigurationException { parseProperties(null); } }
TSDRRestconfCollectorConfig implements ManagedService { @PostConstruct public void init() throws ConfigurationException { parseProperties(null); } @Inject  TSDRRestconfCollectorConfig(); }
TSDRRestconfCollectorConfig implements ManagedService { @PostConstruct public void init() throws ConfigurationException { parseProperties(null); } @Inject  TSDRRestconfCollectorConfig(); @PostConstruct void init(); @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override synchronized void updated(Dictionary properties); Set<String> getMethodsToLog(); Pattern getPathsToLog(); Pattern getAddressesToLog(); Pattern getContentToLog(); }
TSDRRestconfCollectorConfig implements ManagedService { @PostConstruct public void init() throws ConfigurationException { parseProperties(null); } @Inject  TSDRRestconfCollectorConfig(); @PostConstruct void init(); @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override synchronized void updated(Dictionary properties); Set<String> getMethodsToLog(); Pattern getPathsToLog(); Pattern getAddressesToLog(); Pattern getContentToLog();  }