|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.ajaxparts.taglib.AjaxInit
This class is responsible for all configuration tasks to prepare for Ajax functionality. It contains two main pieces of functionality: (a) it parses the configuration file named by the ajaxConfig context init parameter, and (b) adds the STD handlers to the configuration information. This is called from the AjaxEventTag or AjaxEnableTag class, if the AjaxConfig has not been frozen.
Field Summary | |
private static org.apache.commons.logging.Log |
log
Log instance. |
Constructor Summary | |
AjaxInit()
|
Method Summary | |
private void |
addSTDHandlers()
This method is responsible for adding all the STD handlers to the configuration. |
void |
init(javax.servlet.ServletContext sc)
The container calls this when the context is initialzed. |
private void |
parseConfig(javax.servlet.ServletContext sc)
This method is responsible for parsing the config file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static org.apache.commons.logging.Log log
Constructor Detail |
public AjaxInit()
Method Detail |
public void init(javax.servlet.ServletContext sc)
sc
- ServletContext instance reference.private void parseConfig(javax.servlet.ServletContext sc) throws org.xml.sax.SAXException, java.io.IOException
sc
- ServletContext reference.
org.xml.sax.SAXException
- If anything goes wrong.
java.io.IOException
- If anything goes wrong.private void addSTDHandlers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |