/** * {@inheritDoc} */ public Set<String> getPropertyNames() { this.lock.readLock().lock(); try { doInit(); return this.state.getPropertyNames(); } finally { this.lock.readLock().unlock(); } }
/** * {@inheritDoc} */ public Set<String> getPropertyNames() { this.lock.readLock().lock(); try { doInit(); return this.state.getPropertyNames(); } finally { this.lock.readLock().unlock(); } }
/** * Applies default overrides to the initial state. * * @param state * the state * @throws IOException * Signals that an I/O exception has occurred. */ protected void applyDefaultOverrides(PropertyBackedBeanState state) throws IOException { for (String name : state.getPropertyNames()) { String override = resolveDefault(name); if (override != null) { state.setProperty(name, override); } } }
/** * Applies default overrides to the initial state. * * @param state * the state * @throws IOException * Signals that an I/O exception has occurred. */ protected void applyDefaultOverrides(PropertyBackedBeanState state) throws IOException { for (String name : state.getPropertyNames()) { String override = resolveDefault(name); if (override != null) { state.setProperty(name, override); } } }