/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key the property's key * @return the string value associated with the key */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); if (HOSTNAME_KEY.equalsIgnoreCase(key)) { return lazyGetHostname(); } return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); if (HOSTNAME_KEY.equalsIgnoreCase(key)) { return lazyGetHostname(); } return (String) this.propertyMap.get(key); }
/** * Given a key, return the corresponding property value. If invoked with * the special key "CONTEXT_NAME", the name of the context is returned. * * @param key * @return */ public String getProperty(String key) { if (CONTEXT_NAME_KEY.equals(key)) return getName(); if (HOSTNAME_KEY.equalsIgnoreCase(key)) { return lazyGetHostname(); } return (String) this.propertyMap.get(key); }