ch.elca.el4j.util.codingsupport
Class Properties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
ch.elca.el4j.util.codingsupport.Properties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
Deprecated. use <util:properties> instead.
public class Properties
- extends Properties
This class simplifies to use properties as first class configuration objects.
It allows to set a number of properties through spring's configuration
features:
<bean name="beanName" class="ch.elca.el4j.util.codingsupport.Properties">
<property name="properties">
<props>
<prop key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</prop>
<!-- more properties -->
</props>
</property>
</bean>
- Author:
- Andreas Bur (ABU)
- See Also:
- Serialized Form
- File-location:
- Properties
- Last check-in date:
- 2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883
Constructor Summary |
Properties()
Deprecated. Crates a new Properties instance. |
Properties(Properties defaults)
Deprecated. Creates a new Properties instance and sets the default properties. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Properties
public Properties()
- Deprecated.
- Crates a new Properties instance.
Properties
public Properties(Properties defaults)
- Deprecated.
- Creates a new Properties instance and sets the default properties.
- Parameters:
defaults
- The default properties to set.
setProperties
public void setProperties(Properties props)
- Deprecated.
- Copies all properties of the provided
Properties
object
into this instance.
- Parameters:
props
- The properties to copy.
Copyright © 2005-2011 ELCA. All Rights Reserved.