public class HttpServletWorkSource extends AbstractWorkSource<HttpServletTask>
WorkSource for a HttpServletContainer.AbstractWorkSource.SpecificationContext| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
HttpServletWorkSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadSpecification(AbstractWorkSource.SpecificationContext context) |
void |
sourceWork(WorkTypeBuilder<HttpServletTask> workTypeBuilder,
WorkSourceContext context) |
getSpecificationpublic static final String PROPERTY_SERVLET_NAME
HttpServlet name.public static final String PROPERTY_SERVLET_MAPPINGS
HttpServlet mappings.public static final String PROPERTY_HTTP_SERVLET_CLASS_NAME
HttpServlet
implementation.public static final String PROPERTY_PREFIX_INIT_PARAMETER
protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
loadSpecification in class AbstractWorkSource<HttpServletTask>public void sourceWork(WorkTypeBuilder<HttpServletTask> workTypeBuilder, WorkSourceContext context) throws Exception
ExceptionCopyright © 2005–2015. All rights reserved.