Package net.officefloor.servlet.chain
Class ServletSectionSource
- java.lang.Object
-
- net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
-
- net.officefloor.servlet.chain.ServletSectionSource
-
- All Implemented Interfaces:
SectionSource
public class ServletSectionSource extends AbstractSectionSource
- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
AbstractSectionSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINPUTSectionInputname for servicing theServerHttpConnection.static java.lang.StringOUTPUTSectionOutputfor passing on to next in chain for servicingServerHttpConnection.
-
Constructor Summary
Constructors Constructor Description ServletSectionSource(TomcatServletManager tomcatServletManager)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidloadSpecification(AbstractSectionSource.SpecificationContext context)Loads theSectionSourceSpecification.voidsourceSection(SectionDesigner designer, SectionSourceContext context)Sources theOfficeSectionby constructing it via the inputSectionDesigner.-
Methods inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
getSpecification
-
-
-
-
Field Detail
-
INPUT
public static final java.lang.String INPUT
SectionInputname for servicing theServerHttpConnection.- See Also:
- Constant Field Values
-
OUTPUT
public static final java.lang.String OUTPUT
SectionOutputfor passing on to next in chain for servicingServerHttpConnection.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServletSectionSource
public ServletSectionSource(TomcatServletManager tomcatServletManager)
Instantiate.- Parameters:
tomcatServletManager-TomcatServletManager.
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
Description copied from class:AbstractSectionSourceLoads theSectionSourceSpecification.- Specified by:
loadSpecificationin classAbstractSectionSource- Parameters:
context-AbstractSectionSource.SpecificationContext.
-
sourceSection
public void sourceSection(SectionDesigner designer, SectionSourceContext context) throws java.lang.Exception
Description copied from interface:SectionSourceSources theOfficeSectionby constructing it via the inputSectionDesigner.- Parameters:
designer-SectionDesignerto construct the structure of theOfficeSection.context-SectionSourceContextto source details to construct theOfficeSection.- Throws:
java.lang.Exception- If fails to construct theOfficeSection.
-
-