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.11 $ $Date: 2006/09/12 14:55:27 $
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.
 
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 initialization 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


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