org.objectweb.jonas.management.ReconfiguratorXml Class Reference

Inherits org.objectweb.jonas.management.AbsReconfigurator.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ReconfiguratorXml (String name, String configFileName, String xml)
void saveConfig (long sequence) throws ReconfigException

Package Functions

void updateConfig (String xml, long sequence)

Detailed Description

This class allows for persistent reconfiguration of a JOnAS service or of a JOnAS resource being configured by a .xml file.

Definition at line 43 of file ReconfiguratorXml.java.


Constructor & Destructor Documentation

org.objectweb.jonas.management.ReconfiguratorXml.ReconfiguratorXml String  name,
String  configFileName,
String  xml
 

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
xml XML content of the file

Definition at line 57 of file ReconfiguratorXml.java.


Member Function Documentation

void org.objectweb.jonas.management.ReconfiguratorXml.saveConfig long  sequence  )  throws ReconfigException [virtual]
 

Saves the updated configuration

Parameters:
sequence the sequence number of management notification producing the save (in fact store) operation
Exceptions:
ReconfigException if the saveConfig could not be done

Implements org.objectweb.jonas.management.AbsReconfigurator.

Definition at line 82 of file ReconfiguratorXml.java.

void org.objectweb.jonas.management.ReconfiguratorXml.updateConfig String  xml,
long  sequence
[package]
 

Updates the configuration file

Parameters:
xml The new configuration
sequence the sequence number of management notification producing the update

Definition at line 67 of file ReconfiguratorXml.java.


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