|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
simple.http.load.Configuration
public class Configuration
The Configuration
object is used to collect property
values for services loaded using the mapper engine. The mapper
engine uses an XML configuration file that allows properties to
be specified for a service instance. These properties can be
grouped into named sections, this represents that structure.
MapperEngine
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
Configuration()
Constructor for the Configuration object. |
|
Configuration(java.util.Properties data)
Constructor for the Configuration object. |
Method Summary | |
---|---|
java.util.Properties |
getSection(java.lang.String name)
This is used to acquire the properties for a named section. |
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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Configuration()
Configuration
object. This
is used to create an empty configuration object. Property
values and sections can be added using setter methods.
public Configuration(java.util.Properties data)
Configuration
object. This
is used to create a configuration object that copies the
details from the provided properties object. This can also
be used as a copy constructor.
data
- this is a collection of properties to addMethod Detail |
---|
public java.util.Properties getSection(java.lang.String name)
name
- this is the name of the section to acquire
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |