planet.util
Interface PropertiesInitializer

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
OverlayProperties
All Known Implementing Classes:
BehavioursPropertiesImpl, ChordProperties, ResultsGMLProperties, SymphonyProperties, TrivialProperties

public interface PropertiesInitializer
extends java.io.Serializable

Offers the minimal functionallity for a properties initializer of any type.

Author:
Jordi Pujol 22/02/2005

Method Summary
 void init(PropertiesWrapper properties)
          Initialize correctly the configuration properties.
 void postinit(PropertiesWrapper properties)
          Makes the postinitialization process.
 

Method Detail

init

public void init(PropertiesWrapper properties)
          throws InitializationException
Initialize correctly the configuration properties.

Parameters:
properties - A Properties instance with all required configuration properties.
Throws:
InitializationException - if an error occurs during the initialization of the different properties.

postinit

public void postinit(PropertiesWrapper properties)
              throws InitializationException
Makes the postinitialization process. Sometimes one require make some initialization tasks after whole simulator context has been initialized.

Parameters:
properties - A Properties instance with all required configuration properties.
Throws:
InitializationException - if an error occurs during the initialization of the different properties.