org.mentawai.tag.html.dyntag
Class BaseListener

java.lang.Object
  extended by org.mentawai.tag.html.dyntag.BaseListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener
Direct Known Subclasses:
AjaxListener, FormSkinListener, InputDateListener, InputMaskListener, InputMoneyListener, SelectBoxListener, StatsListener

public abstract class BaseListener
extends Object
implements javax.servlet.ServletContextListener


Field Summary
protected static boolean PREVENT_COPY
           
 
Constructor Summary
BaseListener()
           
 
Method Summary
abstract  void contextDestroyed(javax.servlet.ServletContextEvent evt)
           
abstract  void contextInitialized(javax.servlet.ServletContextEvent evt)
          Handles finding all CSS, JavaScript, and image resources from this taglib's JAR file and copies them to a directory in the web app's root directory where the tab components can link to them.
protected  void createComponentDir(javax.servlet.ServletContext servletContext, List<FileTransfer> listPathFiles)
           
static void createLibraries(boolean b)
           
abstract  void init()
           
protected  void writeFile(URL fromURL, String toPath, javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREVENT_COPY

protected static boolean PREVENT_COPY
Constructor Detail

BaseListener

public BaseListener()
Method Detail

init

public abstract void init()

contextInitialized

public abstract void contextInitialized(javax.servlet.ServletContextEvent evt)
Handles finding all CSS, JavaScript, and image resources from this taglib's JAR file and copies them to a directory in the web app's root directory where the tab components can link to them.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public abstract void contextDestroyed(javax.servlet.ServletContextEvent evt)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

createComponentDir

protected void createComponentDir(javax.servlet.ServletContext servletContext,
                                  List<FileTransfer> listPathFiles)

createLibraries

public static void createLibraries(boolean b)

writeFile

protected void writeFile(URL fromURL,
                         String toPath,
                         javax.servlet.ServletContext servletContext)


Copyright © 2013. All Rights Reserved.