Login | Register
My pages Projects Community openCollabNet
CyberWebForm 2.0

cyber.web.form
Class ConfigBase

java.lang.Object
  |
  +--cyber.web.form.AbstractDecomposable
        |
        +--cyber.web.form.ConfigBase
All Implemented Interfaces:
Decomposable
Direct Known Subclasses:
DomConfigBase, LoggingConfig, SAXConfigBase

public abstract class ConfigBase
extends AbstractDecomposable

Author:
cy.ing To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
ConfigBase()
           
 
Method Summary
 void configure()
           
 void configure(ConfigSource src)
           
 void configure(ServletContext app)
           
 void decompose(DecomposeQueue queue)
          Called by DecomposeQueue to indicate a request for decomposition.
abstract  String getConfigFilePath()
           
 ConfigSource getLastConfigSource()
           
protected abstract  void handleAfterReconfigure()
           
protected abstract  void internalReconfigure(ConfigSource configSrc)
           
 boolean isConfigModified()
           
 boolean isConfigModified(ConfigSource src)
           
 void release()
          Called when the config is being discarded
 
Methods inherited from class cyber.web.form.AbstractDecomposable
isDecomposed, markDecomposed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigBase

public ConfigBase()
Method Detail

configure

public void configure()
               throws ConfigException

configure

public void configure(ServletContext app)
               throws ConfigException

configure

public void configure(ConfigSource src)
               throws ConfigException

isConfigModified

public boolean isConfigModified(ConfigSource src)

isConfigModified

public boolean isConfigModified()

internalReconfigure

protected abstract void internalReconfigure(ConfigSource configSrc)
                                     throws ConfigException
Parameters:
configSrc -  

handleAfterReconfigure

protected abstract void handleAfterReconfigure()

release

public void release()
Called when the config is being discarded

getConfigFilePath

public abstract String getConfigFilePath()
Returns:
 

getLastConfigSource

public ConfigSource getLastConfigSource()
Returns:
 

decompose

public void decompose(DecomposeQueue queue)
Description copied from interface: Decomposable
Called by DecomposeQueue to indicate a request for decomposition. This methods should call DecomposeQueue.enqueue(Decomposable decomp) to put other decomposables into the queue, not by calling their #decompose() directly.
Overrides:
decompose in class AbstractDecomposable
Following copied from interface: cyber.web.form.Decomposable
Parameters:
queue - The decompose queue.

CyberWebForm 2.0

Copyright 2000-2002 Apache Software Foundation.