private void setupPropertyUserStore(Map<String, ?> options) { parseConfig(options); if (_propertyUserStores.get(_filename) == null) { PropertyUserStore propertyUserStore = new PropertyUserStore(); propertyUserStore.setConfig(_filename); propertyUserStore.setRefreshInterval(_refreshInterval); PropertyUserStore prev = _propertyUserStores.putIfAbsent(_filename, propertyUserStore); if (prev == null) { LOG.debug("setupPropertyUserStore: Starting new PropertyUserStore. PropertiesFile: " + _filename + " refreshInterval: " + _refreshInterval); try { propertyUserStore.start(); } catch (Exception e) { LOG.warn("Exception while starting propertyUserStore: ",e); } } } }
private void setupPropertyUserStore(Map<String, ?> options) { parseConfig(options); if (_propertyUserStores.get(_filename) == null) { PropertyUserStore propertyUserStore = new PropertyUserStore(); propertyUserStore.setConfig(_filename); propertyUserStore.setRefreshInterval(_refreshInterval); PropertyUserStore prev = _propertyUserStores.putIfAbsent(_filename, propertyUserStore); if (prev == null) { LOG.debug("setupPropertyUserStore: Starting new PropertyUserStore. PropertiesFile: " + _filename + " refreshInterval: " + _refreshInterval); try { propertyUserStore.start(); } catch (Exception e) { LOG.warn("Exception while starting propertyUserStore: ",e); } } } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ @Override protected void doStart() throws Exception { super.doStart(); if (_propertyUserStore == null) { if(LOG.isDebugEnabled()) LOG.debug("doStart: Starting new PropertyUserStore. PropertiesFile: " + _config + " refreshInterval: " + _refreshInterval); _propertyUserStore = new PropertyUserStore(); _propertyUserStore.setRefreshInterval(_refreshInterval); _propertyUserStore.setConfig(_config); _propertyUserStore.registerUserListener(this); _propertyUserStore.start(); } }