org.xins.server
Class RuntimeProperties

java.lang.Object
  extended byorg.xins.server.RuntimeProperties

public class RuntimeProperties
extends Object

Base class to get the runtime properties.

Since:
XINS 1.2.0
Version:
$Revision: 1.17 $ $Date: 2008/07/04 10:22:51 $
Author:
Anthony Goubard, Tauseef Rehman

Constructor Summary
RuntimeProperties()
           
 
Method Summary
protected  List descriptors()
          Gets the descriptor list.
protected  void init(PropertyReader runtimeSettings)
          Initialize the runtime properties.
 PropertyReader properties()
          Gets all the runtime properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeProperties

public RuntimeProperties()
Method Detail

init

protected void init(PropertyReader runtimeSettings)
             throws MissingRequiredPropertyException,
                    InvalidPropertyValueException
Initialize the runtime properties. This method should be overwritten by a generated class if any runtime properties is declared in the impl.xml file.

Parameters:
runtimeSettings - the runtime properties, not null.
Throws:
MissingRequiredPropertyException - if a required property is not given.
InvalidPropertyValueException - if the value of a certain property is invalid.

descriptors

protected List descriptors()
Gets the descriptor list. The list is created by getting all the properties which are marked as _descriptor in the run time properties file.

Returns:
the list of all descriptors, may not be null.
Since:
XINS 1.3.0

properties

public PropertyReader properties()
Gets all the runtime properties.

Returns:
the runtime properties, can be null before the initialization.
Since:
XINS 2.1


See http://www.xins.org/.