Class ServerConfigXMLObserver
- java.lang.Object
-
- com.sun.identity.common.configuration.ServerConfigXMLObserver
-
- All Implemented Interfaces:
ConfigurationListener
public class ServerConfigXMLObserver extends Object implements ConfigurationListener
Listens to directory configuration changes in server configuration node.- Author:
- veiming
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerConfigXMLObservergetInstance()Returns an instance ofServerConfigXMLObserverobject.voidnotifyChanges()This method will be call if configuration changed.voidupdate(boolean bForce)Updates bootstrap file.
-
-
-
Method Detail
-
getInstance
public static ServerConfigXMLObserver getInstance()
Returns an instance ofServerConfigXMLObserverobject.- Returns:
- an instance of
ServerConfigXMLObserverobject.
-
notifyChanges
public void notifyChanges()
This method will be call if configuration changed.- Specified by:
notifyChangesin interfaceConfigurationListener
-
update
public void update(boolean bForce)
Updates bootstrap file.- Parameters:
bForce-trueto update regardless if the tracking XML string in this instance is the same as the value in server configuration node.
-
-