org.ow2.jonas.lib.management.reconfig.actuator
Class BaseConfigurationActuator

java.lang.Object
  extended by org.ow2.jonas.lib.management.reconfig.actuator.BaseConfigurationActuator
All Implemented Interfaces:
IConfigurationActuator
Direct Known Subclasses:
PropertiesConfigurationActuator, XMLConfigurationActuator

public abstract class BaseConfigurationActuator
extends Object
implements IConfigurationActuator

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 XMLConfigurationActuator in addition to PropertiesConfigurationActuator

Field Summary
protected  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  String name
          Name of the JOnAS service or JOnAS resource to which this object is associated.
 
Constructor Summary
BaseConfigurationActuator(String name, String configFileName)
          Construct a reconfigurator for a JOnAS service or a JOnAS resource.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.jonas.lib.management.reconfig.IConfigurationActuator
saveConfig
 

Field Detail

name

protected String name
Name of the JOnAS service or JOnAS resource to which this object is associated.


configFileName

protected String configFileName
Name of the file updated by the saveConfig method.


lastSequence

protected long lastSequence
The sequence number of the last treated management notification.


logger

protected static org.objectweb.util.monolog.api.Logger logger
Logger used.

Constructor Detail

BaseConfigurationActuator

public BaseConfigurationActuator(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


Copyright © 2010 OW2 Consortium. All Rights Reserved.