org.objectweb.jonas.management.AbsReconfigurator Class Reference

Inherits org.objectweb.jonas.management.Reconfigurator.

Inherited by org.objectweb.jonas.management.ReconfiguratorProp, and org.objectweb.jonas.management.ReconfiguratorXml.

Inheritance diagram for org.objectweb.jonas.management.AbsReconfigurator:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.management.AbsReconfigurator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AbsReconfigurator (String name, String configFileName)
abstract void saveConfig (long sequence) throws ReconfigException

Protected Attributes

String name
String configFileName
long lastSequence

Static Protected Attributes

Logger logger = null

Detailed Description

This class allows for persistent reconfiguration of a JOnAS service or of a JOnAS resource This is an abstract class. It must be extended to handle properties or xml file
Author:
Adriana Danes

Florent Benoit : Add an abstract class to define ReconfiguratorXml in addition to ReconfiguratorProp

Definition at line 40 of file AbsReconfigurator.java.


Constructor & Destructor Documentation

org.objectweb.jonas.management.AbsReconfigurator.AbsReconfigurator String  name,
String  configFileName
 

Construct a reconfigurator for a JOnAS service or a JOnAS resource

Parameters:
name Name of the JOnAS service or JOnAS resource to which this object is associated
configFileName name of the config file

Definition at line 68 of file AbsReconfigurator.java.

References org.objectweb.jonas.management.AbsReconfigurator.logger.


Member Function Documentation

abstract void org.objectweb.jonas.management.AbsReconfigurator.saveConfig long  sequence  )  throws ReconfigException [pure virtual]
 

Saves the updated configuration

Parameters:
sequence the sequence number of management notification producing the save (in fact store) operation

Implements org.objectweb.jonas.management.Reconfigurator.

Implemented in org.objectweb.jonas.management.ReconfiguratorProp, and org.objectweb.jonas.management.ReconfiguratorXml.


Member Data Documentation

String org.objectweb.jonas.management.AbsReconfigurator.configFileName [protected]
 

Name of the file updated by the saveConfig method

Definition at line 50 of file AbsReconfigurator.java.

long org.objectweb.jonas.management.AbsReconfigurator.lastSequence [protected]
 

The sequence number of the last treated management notification

Definition at line 55 of file AbsReconfigurator.java.

Logger org.objectweb.jonas.management.AbsReconfigurator.logger = null [static, protected]
 

Logger used

Definition at line 60 of file AbsReconfigurator.java.

Referenced by org.objectweb.jonas.management.AbsReconfigurator.AbsReconfigurator().

String org.objectweb.jonas.management.AbsReconfigurator.name [protected]
 

Name of the JOnAS service or JOnAS resource to which this object is associated

Definition at line 45 of file AbsReconfigurator.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:09 2005 for JOnAS by  doxygen 1.3.9.1