|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas.management.AbsReconfigurator
org.objectweb.jonas.management.ReconfiguratorXml
This class allows for persistent reconfiguration of a JOnAS service or of a JOnAS resource being configured by a .xml file.
| Field Summary |
| Fields inherited from class org.objectweb.jonas.management.AbsReconfigurator |
configFileName, lastSequence, logger, name |
| Constructor Summary | |
ReconfiguratorXml(java.lang.String name,
java.lang.String configFileName,
java.lang.String xml)
Construct a reconfigurator for a JOnAS service or a JOnAS resource |
|
| Method Summary | |
void |
saveConfig(long sequence)
Saves the updated configuration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReconfiguratorXml(java.lang.String name,
java.lang.String configFileName,
java.lang.String xml)
name - Name of the JOnAS service or JOnAS resource to which this object is associatedconfigFileName - name of the config filexml - XML content of the file| Method Detail |
public void saveConfig(long sequence)
throws ReconfigException
saveConfig in interface ReconfiguratorsaveConfig in class AbsReconfiguratorsequence - the sequence number of management notification producing the save (in fact store) operation
ReconfigException - if the saveConfig could not be done
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||