jap.forward
Class JAPConfForwardingServerSavePoint

java.lang.Object
  extended by jap.forward.JAPConfForwardingServerSavePoint
All Implemented Interfaces:
IJAPConfSavePoint

public class JAPConfForwardingServerSavePoint
extends java.lang.Object
implements IJAPConfSavePoint

This is the implementation for the forwarding server savepoint. It is needed for restoring an old or the default configuration, if the user presses "Cancel" or "Reset to defaults".


Field Summary
private  org.w3c.dom.Element m_availableMixCascadesSettings
          Stores the settings of the available mixcascades for forwarding.
private  org.w3c.dom.Element m_connectionClassSettings
          Stores the settings of the forwarding server connection classes.
private  int m_forwardingServerPort
          Stores the port where the forwarding server shall listen on.
private  org.w3c.dom.Element m_registrationInfoServicesSettings
          Stores the settings of the registration infoservices.
 
Constructor Summary
JAPConfForwardingServerSavePoint()
          Creates a new instance of JAPConfForwardingServerSavePoint.
 
Method Summary
 void createSavePoint()
          This method will store the current forwarding server configuration in this savepoint.
 void restoreDefaults()
          Restores the default forwarding server configuration.
 void restoreSavePoint()
          Restores the old forwarding server configuration (stored with the last call of createSavePoint()).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_forwardingServerPort

private int m_forwardingServerPort
Stores the port where the forwarding server shall listen on.


m_connectionClassSettings

private org.w3c.dom.Element m_connectionClassSettings
Stores the settings of the forwarding server connection classes.


m_availableMixCascadesSettings

private org.w3c.dom.Element m_availableMixCascadesSettings
Stores the settings of the available mixcascades for forwarding.


m_registrationInfoServicesSettings

private org.w3c.dom.Element m_registrationInfoServicesSettings
Stores the settings of the registration infoservices.

Constructor Detail

JAPConfForwardingServerSavePoint

public JAPConfForwardingServerSavePoint()
Creates a new instance of JAPConfForwardingServerSavePoint. Only some initialization is done here.

Method Detail

createSavePoint

public void createSavePoint()
This method will store the current forwarding server configuration in this savepoint.

Specified by:
createSavePoint in interface IJAPConfSavePoint

restoreSavePoint

public void restoreSavePoint()
Restores the old forwarding server configuration (stored with the last call of createSavePoint()).

Specified by:
restoreSavePoint in interface IJAPConfSavePoint

restoreDefaults

public void restoreDefaults()
Restores the default forwarding server configuration.

Specified by:
restoreDefaults in interface IJAPConfSavePoint