com.gridsystems.config
Interface ConfiguratorModel

All Known Implementing Classes:
JVMConfigModel, TomcatConfigModel

public interface ConfiguratorModel

Model part of the MVC pattern for Configurators.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Method Summary
 void apply()
          Performs changes in files external to the model data.
 void load()
          Loads the model from persistence layer.
 void store()
          Stores the model in the persistence layer.
 void validate()
          Validate data of this Model.
 

Method Detail

load

void load()
          throws java.io.IOException
Loads the model from persistence layer.

Throws:
java.io.IOException - In case of read error

store

void store()
           throws java.io.IOException
Stores the model in the persistence layer.

Throws:
java.io.IOException - In case of write error

validate

void validate()
              throws java.lang.Exception
Validate data of this Model.

Throws:
java.lang.Exception - In case of invalid data

apply

void apply()
           throws java.io.IOException
Performs changes in files external to the model data.

Throws:
java.io.IOException - In case of write error


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.