JSPTemplates

org.tp23.jasper.runtime
Class JspModificationWrapper

java.lang.Object
  |
  +--org.tp23.jasper.runtime.JspModificationWrapper
All Implemented Interfaces:
java.io.Serializable

public class JspModificationWrapper
extends java.lang.Object
implements java.io.Serializable

This wrapper keeps track of the last modified data of the class generated and a file reference to the JSP thus a quick check can be made before calling for the output of a JSP to see if the class needs recompiling.

Author:
Paul Hinds
See Also:
Serialized Form

Constructor Summary
JspModificationWrapper()
           
 
Method Summary
 ObjectJspBase getJsp()
           
 java.io.File getJspFile()
           
 long getLastModified()
           
 boolean needsReloading()
           
 void setJsp(ObjectJspBase newJsp)
           
 void setJspFile(java.io.File newJspFile)
           
 void setLastModified(long newLastModified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspModificationWrapper

public JspModificationWrapper()
Method Detail

setLastModified

public void setLastModified(long newLastModified)

getLastModified

public long getLastModified()

setJspFile

public void setJspFile(java.io.File newJspFile)

getJspFile

public java.io.File getJspFile()

setJsp

public void setJsp(ObjectJspBase newJsp)

getJsp

public ObjectJspBase getJsp()

needsReloading

public boolean needsReloading()

JSPTemplates