/** * Get a Velocity Runtime property. * * @param key property to retrieve * @return property value or null if the property * not currently set */ public Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Get a Velocity Runtime property. * * @param key property to retrieve * @return property value or null if the property * not currently set */ public Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Get a Velocity Runtime property. * * @param key property to retrieve * @return property value or null if the property * not currently set */ public Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Allows an external caller to get a property. The calling * routine is required to know the type, as this routine * will return an Object, as that is what properties can be. * * @param key property to return */ public static Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Get a Velocity Runtime property. * * @param key property to retrieve * @return property value or null if the property * not currently set */ public Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Allows an external caller to get a property. The calling * routine is required to know the type, as this routine * will return an Object, as that is what properties can be. * * @param key property to return * @return Value of the property or null if it does not exist. * @see RuntimeInstance#getProperty(String) */ public static Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Allows an external caller to get a property. The calling * routine is required to know the type, as this routine * will return an Object, as that is what properties can be. * * @param key property to return * @return Value of the property or null if it does not exist. * @see RuntimeInstance#getProperty(String) */ public static Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Allows an external caller to get a property. The calling * routine is required to know the type, as this routine * will return an Object, as that is what properties can be. * * @param key property to return * @return Value of the property or null if it does not exist. * @see RuntimeInstance#getProperty(String) */ public static Object getProperty( String key ) { return ri.getProperty( key ); }
/** * Get a logger for the specified child namespace. * If a logger was configured using the runtime.log.instance configuration property, returns this instance. * Otherwise, uses SLF4J LoggerFactory on baseNamespace + childNamespace. * @param childNamespace * @return */ public Logger getLog(String childNamespace) { Logger log = (Logger)getProperty(RuntimeConstants.RUNTIME_LOG_INSTANCE); if (log == null) { String loggerName = getString(RUNTIME_LOG_NAME, DEFAULT_RUNTIME_LOG_NAME) + "." + childNamespace; log = LoggerFactory.getLogger(loggerName); } return log; }
Object o = getProperty(RuntimeConstants.RUNTIME_LOG_INSTANCE); if (o != null) o = getProperty(RuntimeConstants.RUNTIME_LOG_NAME); if (o != null)
Object inst = getProperty(RuntimeConstants.RESOURCE_MANAGER_INSTANCE); String rm = getString(RuntimeConstants.RESOURCE_MANAGER_CLASS);