/** * Int property accessor method to hide the configuration implementation. * * @param String key property key * @return int value */ public static int getInt( String key ) { return ri.getInt( key ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key property key * @param defaultValue The default value. * @return value * @see RuntimeInstance#getInt(String, int) */ public static int getInt( String key, int defaultValue ) { return ri.getInt( key, defaultValue ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key property key * @param defaultValue The default value. * @return value * @see RuntimeInstance#getInt(String, int) */ public static int getInt( String key, int defaultValue ) { return ri.getInt( key, defaultValue ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key Property key * @return value * @see RuntimeInstance#getInt(String) */ public static int getInt( String key ) { return ri.getInt(key); }
/** * Int property accessor method to hide the configuration implementation. * * @param key property key * @param int default value * @return int value */ public static int getInt( String key, int defaultValue ) { return ri.getInt( key, defaultValue ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key Property key * @return value * @see RuntimeInstance#getInt(String) */ public static int getInt( String key ) { return ri.getInt( key ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key property key * @param defaultValue The default value. * @return value * @see RuntimeInstance#getInt(String, int) */ public static int getInt( String key, int defaultValue ) { return ri.getInt( key, defaultValue ); }
/** * Int property accessor method to hide the configuration implementation. * * @param key Property key * @return value * @see RuntimeInstance#getInt(String) */ public static int getInt( String key ) { return ri.getInt( key ); }
/** * Initializes the Velocity parser pool. * This still needs to be implemented. */ private void initializeParserPool() { int numParsers = getInt( PARSER_POOL_SIZE, NUMBER_OF_PARSERS); parserPool = new SimplePool( numParsers); for (int i=0; i < numParsers ;i++ ) { parserPool.put (createNewParser()); } info ("Created: " + numParsers + " parsers."); }