net.officefloor.plugin.servlet.container.source
Class JspWorkSource

java.lang.Object
  extended by net.officefloor.compile.spi.work.source.impl.AbstractWorkSource<HttpServletTask>
      extended by net.officefloor.plugin.servlet.container.source.JspWorkSource
All Implemented Interfaces:
WorkSource<HttpServletTask>

public class JspWorkSource
extends AbstractWorkSource<HttpServletTask>

WorkSource to service a HttpRequest via a JspServlet.

Author:
Daniel Sagenschneider

Nested Class Summary
 
Nested classes/interfaces inherited from class net.officefloor.compile.spi.work.source.impl.AbstractWorkSource
AbstractWorkSource.SpecificationContext
 
Field Summary
static String PROPERTY_PREFIX_INIT_PARAMETER
          Prefix of property for an initialisation parameter.
static String PROPERTY_SERVLET_MAPPINGS
          Name of property to obtain overriding mappings to the JSP.
 
Constructor Summary
JspWorkSource()
           
 
Method Summary
protected  void loadSpecification(AbstractWorkSource.SpecificationContext context)
           
 void sourceWork(WorkTypeBuilder<HttpServletTask> workTypeBuilder, WorkSourceContext context)
           
 
Methods inherited from class net.officefloor.compile.spi.work.source.impl.AbstractWorkSource
getSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_PREFIX_INIT_PARAMETER

public static final String PROPERTY_PREFIX_INIT_PARAMETER
Prefix of property for an initialisation parameter. This allows for additional configuration of the JspServlet.

See Also:
Constant Field Values

PROPERTY_SERVLET_MAPPINGS

public static final String PROPERTY_SERVLET_MAPPINGS
Name of property to obtain overriding mappings to the JSP.

See Also:
Constant Field Values
Constructor Detail

JspWorkSource

public JspWorkSource()
Method Detail

loadSpecification

protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
Specified by:
loadSpecification in class AbstractWorkSource<HttpServletTask>

sourceWork

public void sourceWork(WorkTypeBuilder<HttpServletTask> workTypeBuilder,
                       WorkSourceContext context)
                throws Exception
Throws:
Exception


Copyright © 2005-2011. All Rights Reserved.