|
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.EmbededServletOptions
A class to hold all init parameters specific to the JSP engine.
Field Summary | |
int |
checkInterval
Background compile thread check interval in seconds. |
boolean |
classDebugInfo
Indicates if debugging information should be included in the class file. |
java.lang.String |
classpath
Classpath to use while compiling generated servlets. |
java.lang.String |
compiler
Compiler to use. |
boolean |
development
Is Jasper being used in development mode? |
boolean |
fork
Should Ant fork its java compiles of JSP pages. |
java.lang.String |
ieClassId
Need to have this as is for versions 4 and 5 of IE. |
boolean |
keepGenerated
Do you want to keep the generated Java files around? |
boolean |
mappedFile
Indicates if "mapped" files should be supported. |
boolean |
poolingEnabled
Determines whether tag handler pooling is enabled. |
boolean |
reloading
Indicates status of JSP reloading. |
java.io.File |
scratchDir
I want to see my generated servlets. |
boolean |
sendErrorToClient
Indicates if you want stack traces and such displayed in the client's browser. |
Constructor Summary | |
EmbededServletOptions(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context)
Create an EmbededServletOptions object using data available from ServletConfig and ServletContext. |
Method Summary | |
int |
getCheckInterval()
Background JSP compile thread check interval. |
boolean |
getClassDebugInfo()
Getter method to determine if class files should be compiled with debug information. |
java.lang.String |
getClassPath()
Getter method for classpath used when compiling the servlets generated from JSP files. |
java.lang.String |
getCompiler()
Compiler to use. |
boolean |
getDevelopment()
Getter method to determine if Jasper being used in development mode. |
boolean |
getFork()
boolean flag to tell Ant whether to fork JSP page compilations. |
java.lang.String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE. |
java.lang.String |
getJavaEncoding()
Java platform encoding to generate the JSP page servlet. |
boolean |
getKeepGenerated()
Getter method to see if generated code is kept. |
boolean |
getMappedFile()
Getter method to determine HTML mapped servlets support. |
java.lang.String |
getProperty(java.lang.String name)
|
boolean |
getReloading()
Getter method for JSP reloading check. |
java.io.File |
getScratchDir()
Getter method for scratch dir. |
boolean |
getSendErrorToClient()
Getter method to determine if errors should be sent to client or thrown into stderr. |
TldLocationsCache |
getTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. |
boolean |
isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise. |
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setTldLocationsCache(TldLocationsCache tldC)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean development
public boolean fork
public boolean keepGenerated
public boolean poolingEnabled
public boolean mappedFile
public boolean sendErrorToClient
public boolean classDebugInfo
public int checkInterval
public boolean reloading
public java.io.File scratchDir
public java.lang.String ieClassId
public java.lang.String classpath
public java.lang.String compiler
Constructor Detail |
public EmbededServletOptions(javax.servlet.ServletConfig config, javax.servlet.ServletContext context)
Method Detail |
public java.lang.String getProperty(java.lang.String name)
public void setProperty(java.lang.String name, java.lang.String value)
public boolean getKeepGenerated()
getKeepGenerated
in interface Options
public boolean isPoolingEnabled()
Options
isPoolingEnabled
in interface Options
public boolean getMappedFile()
getMappedFile
in interface Options
public boolean getSendErrorToClient()
getSendErrorToClient
in interface Options
public boolean getClassDebugInfo()
getClassDebugInfo
in interface Options
public int getCheckInterval()
getCheckInterval
in interface Options
public boolean getDevelopment()
getDevelopment
in interface Options
public boolean getReloading()
getReloading
in interface Options
public java.lang.String getIeClassId()
getIeClassId
in interface Options
public java.io.File getScratchDir()
getScratchDir
in interface Options
public java.lang.String getClassPath()
getClassPath
in interface Options
public java.lang.String getCompiler()
getCompiler
in interface Options
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache
in interface Options
public void setTldLocationsCache(TldLocationsCache tldC)
public java.lang.String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public boolean getFork()
Options
getFork
in interface Options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |