org.jboss.webbeans.bootstrap
Class DeploymentProperties

java.lang.Object
  extended by org.jboss.webbeans.bootstrap.DeploymentProperties

public class DeploymentProperties
extends java.lang.Object

Utility class to load deployment properties

Author:
Pete Muir

Field Summary
static java.lang.String RESOURCE_BUNDLE
           
 
Constructor Summary
DeploymentProperties(java.lang.ClassLoader classLoader)
          Constructor
 
Method Summary
 java.util.List<java.lang.String> getPropertyValues(java.lang.String key)
          Get a list of possible values for a given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_BUNDLE

public static final java.lang.String RESOURCE_BUNDLE
See Also:
Constant Field Values
Constructor Detail

DeploymentProperties

public DeploymentProperties(java.lang.ClassLoader classLoader)
Constructor

Parameters:
classLoader - The classloader to work on
Method Detail

getPropertyValues

public java.util.List<java.lang.String> getPropertyValues(java.lang.String key)
Get a list of possible values for a given key. First, System properties are tried, followed by the specified resource bundle (first in classpath only). Colon (:) deliminated lists are split out. (gotta love Petes choice of ASCII art for that one ;-)

Parameters:
key - The key to search for
Returns:
A list of possible values. An empty list is returned if there are no matches.


Copyright © 2008. All Rights Reserved.