org.jboss.web.tomcat.tc5.jasper
Class JspServletOptions

java.lang.Object
  extended byorg.jboss.web.tomcat.tc5.jasper.JspServletOptions

public class JspServletOptions
extends java.lang.Object

Override the default JspServletOptions to externalize the jsp layer configuration. This overrides the default TagLibCache to the jboss version.


Field Summary
 boolean fork
          Should Ant fork its java compiles of JSP pages.
 
Constructor Summary
JspServletOptions(ServletConfig config, ServletContext context)
          Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.
 
Method Summary
 boolean genStringAsCharArray()
          Are Text strings to be generated as char arrays?
 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 getCompilerSourceVM()
           
 java.lang.String getCompilerTargetVM()
           
 boolean getDevelopment()
          Is Jasper being used in development mode?
 boolean getErrorOnUseBeanInvalidClassAttribute()
           
 boolean getFork()
           
 java.lang.String getIeClassId()
          Class ID for use in the plugin tag when the browser is IE.
 java.lang.String getJavaEncoding()
           
 JspConfig getJspConfig()
           
 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)
           
 java.io.File getScratchDir()
          What is my scratch dir?
 boolean getSendErrorToClient()
          Should errors be sent to client or thrown into stderr?
 TagPluginManager getTagPluginManager()
           
 TldLocationsCache getTldLocationsCache()
           
 boolean getTrimSpaces()
          Should white spaces between directives or actions be trimmed?
 boolean isPoolingEnabled()
           
 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 isXpoweredBy()
          Is generation of X-Powered-By response header enabled/disabled?
 void setErrorOnUseBeanInvalidClassAttribute(boolean b)
           
 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

fork

public boolean fork
Should Ant fork its java compiles of JSP pages.

Constructor Detail

JspServletOptions

public JspServletOptions(ServletConfig config,
                         ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)

getKeepGenerated

public boolean getKeepGenerated()
Are we keeping generated code around?


getTrimSpaces

public boolean getTrimSpaces()
Should white spaces between directives or actions be trimmed?


isPoolingEnabled

public boolean isPoolingEnabled()

getMappedFile

public boolean getMappedFile()
Are we supporting HTML mapped servlets?


getSendErrorToClient

public boolean getSendErrorToClient()
Should errors be sent to client or thrown into stderr?


getClassDebugInfo

public boolean getClassDebugInfo()
Should class files be compiled with debug information?


getCheckInterval

public int getCheckInterval()
Background JSP compile thread check intervall


getModificationTestInterval

public int getModificationTestInterval()
Modification test interval.


getDevelopment

public boolean getDevelopment()
Is Jasper being used in development mode?


isSmapSuppressed

public boolean isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed?


isSmapDumped

public boolean isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?


genStringAsCharArray

public boolean genStringAsCharArray()
Are Text strings to be generated as char arrays?


getIeClassId

public java.lang.String getIeClassId()
Class ID for use in the plugin tag when the browser is IE.


getScratchDir

public java.io.File getScratchDir()
What is my scratch dir?


getClassPath

public java.lang.String getClassPath()
What classpath should I use while compiling the servlets generated from JSP files?


isXpoweredBy

public boolean isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?


getCompiler

public java.lang.String getCompiler()
Compiler to use.


getCompilerTargetVM

public java.lang.String getCompilerTargetVM()
See Also:
Options#getCompilerTargetVM

getCompilerSourceVM

public java.lang.String getCompilerSourceVM()
See Also:
Options#getCompilerSourceVM

getErrorOnUseBeanInvalidClassAttribute

public boolean getErrorOnUseBeanInvalidClassAttribute()

setErrorOnUseBeanInvalidClassAttribute

public void setErrorOnUseBeanInvalidClassAttribute(boolean b)

getTldLocationsCache

public TldLocationsCache getTldLocationsCache()

setTldLocationsCache

public void setTldLocationsCache(TldLocationsCache tldC)

getJavaEncoding

public java.lang.String getJavaEncoding()

getFork

public boolean getFork()

getJspConfig

public JspConfig getJspConfig()

getTagPluginManager

public TagPluginManager getTagPluginManager()