|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas.management.AbsReconfigurator
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
| Field Summary | |
protected java.lang.String |
configFileName
Name of the file updated by the saveConfig method |
protected long |
lastSequence
The sequence number of the last treated management notification |
protected static org.objectweb.util.monolog.api.Logger |
logger
Logger used |
protected java.lang.String |
name
Name of the JOnAS service or JOnAS resource to which this object is associated |
| Constructor Summary | |
AbsReconfigurator(java.lang.String name,
java.lang.String configFileName)
Construct a reconfigurator for a JOnAS service or a JOnAS resource |
|
| Method Summary | |
abstract 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 |
| Field Detail |
protected java.lang.String name
protected java.lang.String configFileName
protected long lastSequence
protected static org.objectweb.util.monolog.api.Logger logger
| Constructor Detail |
public AbsReconfigurator(java.lang.String name,
java.lang.String configFileName)
name - Name of the JOnAS service or JOnAS resource to which this object is associatedconfigFileName - name of the config file| Method Detail |
public abstract void saveConfig(long sequence)
throws ReconfigException
saveConfig in interface Reconfiguratorsequence - 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 | |||||||||