Modifier and Type | Field and Description |
---|---|
private int |
checkInterval
Background compile thread check interval in seconds.
|
private boolean |
classDebugInfo
Do we want to include debugging information in the class file?
|
private java.lang.String |
classpath
What classpath should I use while compiling generated servlets?
|
private java.lang.String |
compiler
Compiler to use.
|
private java.lang.String |
compilerClassName
The compiler class name.
|
private java.lang.String |
compilerSourceVM
The compiler source VM.
|
private java.lang.String |
compilerTargetVM
Compiler target VM.
|
private boolean |
defaultBufferNone |
private boolean |
development
Is Jasper being used in development mode?
|
private boolean |
errorOnUseBeanInvalidClassAttribute |
boolean |
fork
Should Ant fork its java compiles of JSP pages.
|
private boolean |
genStringAsByteArray |
private boolean |
genStringAsCharArray
Are Text strings to be generated as char arrays?
|
private java.lang.String |
ieClassId
Need to have this as is for versions 4 and 5 of IE.
|
private int |
initialCapacity |
private boolean |
isPoolingEnabled
Determines whether tag handler pooling is enabled.
|
private boolean |
isSmapDumped
Should SMAP info for JSR45 debugging be dumped to a file?
|
private boolean |
isSmapSuppressed
Is the generation of SMAP info for JSR45 debuggin suppressed?
|
private boolean |
isValidationEnabled |
private java.lang.String |
javaEncoding
Java platform encoding to generate the JSP
page servlet.
|
private JspConfig |
jspConfig
Jsp config information
|
private boolean |
keepGenerated
Do you want to keep the generated Java files around?
|
private static java.util.logging.Logger |
log |
private boolean |
mappedFile
Do you want support for "mapped" files? This will generate
servlet that has a print statement per line of the JSP file.
|
private int |
modificationTestInterval
Modification test interval.
|
private boolean |
saveBytecode
If class files are generated as byte arrays, should they be saved to
disk at the end of compilations?
|
private java.io.File |
scratchDir
I want to see my generated servlets.
|
private boolean |
sendErrorToClient
Do you want stack traces and such displayed in the client's
browser? If this is false, such messages go to the standard
error or a log file if the standard error is redirected.
|
private java.util.Properties |
settings |
private java.lang.String |
sysClassPath |
private TagPluginManager |
tagPluginManager
TagPluginManager
|
private TldScanner |
tldScanner
Cache for the TLD locations
|
private boolean |
trimSpaces
Should white spaces between directives or actions be trimmed?
|
private boolean |
usePrecompiled |
private boolean |
xpoweredBy
Is generation of X-Powered-By response header enabled/disabled?
|
Constructor and Description |
---|
EmbeddedServletOptions(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context)
Create an EmbeddedServletOptions object using data available from
ServletConfig and ServletContext.
|
Modifier and Type | Method and Description |
---|---|
boolean |
genStringAsByteArray()
Are text strings to be generated as byte arrays, if the page is
unbuffered?
|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays?
|
private boolean |
getBoolean(javax.servlet.ServletConfig config,
boolean init,
java.lang.String param) |
int |
getCheckInterval()
Background JSP compile thread check intervall
|
boolean |
getClassDebugInfo()
Should class files be compiled with debug information?
|
java.lang.String |
getClassPath()
What classpath should I use while compiling the servlets
generated from JSP files?
|
java.lang.String |
getCompiler()
Compiler to use.
|
java.lang.String |
getCompilerClassName()
The name of class that implements JavaCompiler, used for Java compilations.
|
java.lang.String |
getCompilerSourceVM()
Compiler source VM, e.g.
|
java.lang.String |
getCompilerTargetVM()
The compiler target VM, e.g.
|
boolean |
getDevelopment()
Is Jasper being used in development mode?
|
boolean |
getErrorOnUseBeanInvalidClassAttribute()
Returns true if Jasper issues a compilation error instead of a runtime
Instantiation error if the class attribute specified in useBean action
is invalid.
|
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.
|
int |
getInitialCapacity()
Gets initial capacity of HashMap which maps JSPs to their corresponding
servlets.
|
java.lang.String |
getJavaEncoding()
Java platform encoding to generate the JSP
page servlet.
|
JspConfig |
getJspConfig()
Obtain JSP configuration informantion specified in web.xml.
|
boolean |
getKeepGenerated()
Are we keeping generated code around?
|
boolean |
getMappedFile()
Are we supporting HTML mapped servlets?
|
int |
getModificationTestInterval()
Modification test interval.
|
java.lang.String |
getProperty(java.lang.String name) |
boolean |
getSaveBytecode()
If class files are generated as byte arrays, should they be saved to
disk at the end of compilations?
|
java.io.File |
getScratchDir()
What is my scratch dir?
|
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr?
|
java.lang.String |
getSystemClassPath()
Gets the system class path.
|
TagPluginManager |
getTagPluginManager()
Obtain a Tag Plugin Manager
|
TldScanner |
getTldScanner()
The cache for the location of the TLD's
for the various tag libraries 'exposed'
by the web application.
|
boolean |
getTrimSpaces()
Should white spaces between directives or actions be trimmed?
|
boolean |
getUsePrecompiled()
Returns the value of the usePrecompiled (or use-precompiled) init
param.
|
boolean |
isDefaultBufferNone()
If the buffer attribute for the page directive is not specified,
is the default "none"?
|
private boolean |
isJDK6() |
boolean |
isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise.
|
boolean |
isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?
|
boolean |
isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed?
|
boolean |
isValidationEnabled() |
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?
|
private void |
parseCheckInterval(java.lang.String param) |
private void |
parseModificationTestInterval(java.lang.String param) |
void |
setErrorOnUseBeanInvalidClassAttribute(boolean b) |
void |
setProperty(java.lang.String name,
java.lang.String value) |
private static java.util.logging.Logger log
private java.util.Properties settings
private boolean development
public boolean fork
private boolean keepGenerated
private boolean saveBytecode
private boolean trimSpaces
private boolean isPoolingEnabled
private boolean mappedFile
private boolean sendErrorToClient
private boolean classDebugInfo
private int checkInterval
private boolean isSmapSuppressed
private boolean isSmapDumped
private boolean genStringAsCharArray
private boolean genStringAsByteArray
private boolean defaultBufferNone
private boolean errorOnUseBeanInvalidClassAttribute
private java.io.File scratchDir
private java.lang.String ieClassId
private java.lang.String classpath
private java.lang.String sysClassPath
private java.lang.String compiler
private java.lang.String compilerTargetVM
private java.lang.String compilerSourceVM
private java.lang.String compilerClassName
private TldScanner tldScanner
private JspConfig jspConfig
private TagPluginManager tagPluginManager
private java.lang.String javaEncoding
private int modificationTestInterval
private boolean xpoweredBy
private boolean usePrecompiled
private boolean isValidationEnabled
private int initialCapacity
public EmbeddedServletOptions(javax.servlet.ServletConfig config, javax.servlet.ServletContext context)
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 getSaveBytecode()
Options
getSaveBytecode
in interface Options
public boolean getTrimSpaces()
getTrimSpaces
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 int getModificationTestInterval()
getModificationTestInterval
in interface Options
public boolean getDevelopment()
getDevelopment
in interface Options
public boolean isSmapSuppressed()
isSmapSuppressed
in interface Options
public boolean isSmapDumped()
isSmapDumped
in interface Options
public boolean genStringAsCharArray()
genStringAsCharArray
in interface Options
public boolean genStringAsByteArray()
Options
genStringAsByteArray
in interface Options
public boolean isDefaultBufferNone()
Options
isDefaultBufferNone
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 getSystemClassPath()
getSystemClassPath
in interface Options
public boolean isXpoweredBy()
isXpoweredBy
in interface Options
public java.lang.String getCompiler()
getCompiler
in interface Options
public java.lang.String getCompilerTargetVM()
Options
getCompilerTargetVM
in interface Options
Options.getCompilerTargetVM()
public java.lang.String getCompilerSourceVM()
Options
getCompilerSourceVM
in interface Options
Options.getCompilerSourceVM()
public java.lang.String getCompilerClassName()
Options
getCompilerClassName
in interface Options
Options#getCompilerName
public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute
in interface Options
public void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldScanner getTldScanner()
Options
getTldScanner
in interface Options
public java.lang.String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public boolean getFork()
Options
public JspConfig getJspConfig()
Options
getJspConfig
in interface Options
public TagPluginManager getTagPluginManager()
Options
getTagPluginManager
in interface Options
public int getInitialCapacity()
getInitialCapacity
in interface Options
public boolean getUsePrecompiled()
getUsePrecompiled
in interface Options
public boolean isValidationEnabled()
isValidationEnabled
in interface Options
private void parseCheckInterval(java.lang.String param)
private void parseModificationTestInterval(java.lang.String param)
private boolean getBoolean(javax.servlet.ServletConfig config, boolean init, java.lang.String param)
private boolean isJDK6()