| java.lang.Object org.objectweb.jonas.management.AbsReconfigurator org.objectweb.jonas.management.ReconfiguratorXml
ReconfiguratorXml | public class ReconfiguratorXml extends AbsReconfigurator (Code) | | This class allows for persistent reconfiguration of a JOnAS service or of a JOnAS resource
being configured by a .xml file.
|
ReconfiguratorXml | public ReconfiguratorXml(String name, String configFileName, String xml)(Code) | | 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 Parameters: configFileName - name of the config file Parameters: xml - XML content of the file |
saveConfig | public void saveConfig(long sequence) throws ReconfigException(Code) | | Saves the updated configuration
Parameters: sequence - the sequence number of management notification producing the save (in fact store) operation throws: ReconfigException - if the saveConfig could not be done |
updateConfig | void updateConfig(String xml, long sequence)(Code) | | Updates the configuration file
Parameters: xml - The new configuration Parameters: sequence - the sequence number of management notification producing the update |
|
|