/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { // Use a ThreadLocal to work around // https://bugs.openjdk.java.net/browse/JDK-8195096 if (".handlers".equals(name) && !addingLocalRootLogger.get().booleanValue()) { return null; } String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { // Use a ThreadLocal to work around // https://bugs.openjdk.java.net/browse/JDK-8195096 if (".handlers".equals(name) && !addingLocalRootLogger.get().booleanValue()) { return null; } String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { // Use a ThreadLocal to work around // https://bugs.openjdk.java.net/browse/JDK-8195096 if (".handlers".equals(name) && !addingLocalRootLogger.get().booleanValue()) { return null; } String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { // Use a ThreadLocal to work around // https://bugs.openjdk.java.net/browse/JDK-8195096 if (".handlers".equals(name) && !addingLocalRootLogger.get().booleanValue()) { return null; } String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }
/** * Get the value of the specified property in the classloader local * configuration. * * @param name The property name */ @Override public String getProperty(String name) { // Use a ThreadLocal to work around // https://bugs.openjdk.java.net/browse/JDK-8195096 if (".handlers".equals(name) && !addingLocalRootLogger.get().booleanValue()) { return null; } String prefix = this.prefix.get(); String result = null; // If a prefix is defined look for a prefixed property first if (prefix != null) { result = findProperty(prefix + name); } // If there is no prefix or no property match with the prefix try just // the name if (result == null) { result = findProperty(name); } // Simple property replacement (mostly for folder names) if (result != null) { result = replace(result); } return result; }