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

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

public class HttpServletWorkSource
extends AbstractWorkSource<HttpServletTask>

WorkSource for a HttpServletContainer.

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_HTTP_SERVLET_CLASS_NAME
          Name of property for the class name of the HttpServlet implementation.
static String PROPERTY_PREFIX_INIT_PARAMETER
          Prefix of property for an initialisation parameter.
static String PROPERTY_SERVLET_MAPPINGS
          Name of property for the HttpServlet mappings.
static String PROPERTY_SERVLET_NAME
          Name of property for the HttpServlet name.
 
Constructor Summary
HttpServletWorkSource()
           
 
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_SERVLET_NAME

public static final String PROPERTY_SERVLET_NAME
Name of property for the HttpServlet name.

See Also:
Constant Field Values

PROPERTY_SERVLET_MAPPINGS

public static final String PROPERTY_SERVLET_MAPPINGS
Name of property for the HttpServlet mappings.

See Also:
Constant Field Values

PROPERTY_HTTP_SERVLET_CLASS_NAME

public static final String PROPERTY_HTTP_SERVLET_CLASS_NAME
Name of property for the class name of the HttpServlet implementation.

See Also:
Constant Field Values

PROPERTY_PREFIX_INIT_PARAMETER

public static final String PROPERTY_PREFIX_INIT_PARAMETER
Prefix of property for an initialisation parameter.

See Also:
Constant Field Values
Constructor Detail

HttpServletWorkSource

public HttpServletWorkSource()
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.