com.caucho.jsp
Class JspPrecompileResource

java.lang.Object
  extended by com.caucho.jsp.JspPrecompileResource
Direct Known Subclasses:
JspPrecompileListener

public class JspPrecompileResource
extends java.lang.Object

Resource for precompiling all the *.jsp files on startup.


Constructor Summary
JspPrecompileResource()
           
 
Method Summary
 FileSetType createFileset()
          Add a pattern.
 FileSetType createFileSet()
          Deprecated.  
 void init()
          Initialize the resource.
 void setThreadCount(int count)
          Sets the number of threads to spawn.
 void setTimeoutMs(long timeout)
          Set the time to wait for compilation to complete
 void setWebApp(WebApp app)
          Sets the webApp.
 void start()
          Starts the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspPrecompileResource

public JspPrecompileResource()
Method Detail

setWebApp

public void setWebApp(WebApp app)
Sets the webApp.


createFileset

public FileSetType createFileset()
Add a pattern.


createFileSet

public FileSetType createFileSet()
Deprecated. 


setThreadCount

public void setThreadCount(int count)
Sets the number of threads to spawn.


setTimeoutMs

public void setTimeoutMs(long timeout)
Set the time to wait for compilation to complete


init

@PostConstruct
public void init()
          throws ConfigException
Initialize the resource.

Throws:
ConfigException

start

public void start()
Starts the resource.