public class WebApplicationSectionSource extends AbstractSectionSource
AbstractSectionSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_LINK_SERVICE_TASK_NAME_PREFIX
Prefix on the
Task name to service links. |
static String |
ROUTE_TO_HTTP_TEMPLATE_OUTPUT_URI_PREFIX
Prefix on the
SectionOutput name for the registered
HttpTemplateAutoWireSection to allow linking flow. |
static String |
SEND_RESPONSE_INPUT_NAME
Name of the
SectionInput to send the HttpResponse . |
static String |
UNHANDLED_REQUEST_OUTPUT_NAME
Name of the
SectionOutput for servicing non-handled
HttpRequest instances. |
Constructor and Description |
---|
WebApplicationSectionSource() |
Modifier and Type | Method and Description |
---|---|
protected void |
loadSpecification(AbstractSectionSource.SpecificationContext context)
Loads the
SectionSourceSpecification . |
void |
sourceSection(SectionDesigner designer,
SectionSourceContext context)
Sources the
OfficeSection by constructing it via the input
SectionDesigner . |
getSpecification
public static final String UNHANDLED_REQUEST_OUTPUT_NAME
SectionOutput
for servicing non-handled
HttpRequest
instances.public static final String SEND_RESPONSE_INPUT_NAME
SectionInput
to send the HttpResponse
.public static final String ROUTE_TO_HTTP_TEMPLATE_OUTPUT_URI_PREFIX
SectionOutput
name for the registered
HttpTemplateAutoWireSection
to allow linking flow.public static final String PROPERTY_LINK_SERVICE_TASK_NAME_PREFIX
Task
name to service links.protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
AbstractSectionSource
SectionSourceSpecification
.loadSpecification
in class AbstractSectionSource
context
- AbstractSectionSource.SpecificationContext
.public void sourceSection(SectionDesigner designer, SectionSourceContext context) throws Exception
SectionSource
OfficeSection
by constructing it via the input
SectionDesigner
.designer
- SectionDesigner
to construct the structure of the
OfficeSection
.context
- SectionSourceContext
to source details to construct
the OfficeSection
.Exception
- If fails to construct the OfficeSection
.Copyright © 2005–2016. All rights reserved.