org.apache.myfaces.extensions.cdi.core.api.util
Class ConfigUtils

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.api.util.ConfigUtils

@Typed
public abstract class ConfigUtils
extends Object

Util methods for configs


Method Summary
static List<String> getConfiguredValue(String key)
           
static Properties getProperties(String resourceName)
          Load properties from a configuration file with the given resourceName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfiguredValue

public static List<String> getConfiguredValue(String key)

getProperties

public static Properties getProperties(String resourceName)
Load properties from a configuration file with the given resourceName.

Parameters:
resourceName - name of the resource
Returns:
Properties or null if the given property file doesn't exist


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.