Class AbstractSectionSource
- java.lang.Object
-
- net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
-
- All Implemented Interfaces:
SectionSource
- Direct Known Subclasses:
ActivitySectionSource
,ClassSectionSource
,CombinedServerRetrieveValidateKeysSectionSource
,DefaultJwtChallengeSectionSource
,HandleAuthenticationRequiredSectionSource
,HttpRouteSectionSource
,HttpSecuritySectionSource
,JwksPublishSectionSource
,JwksSectionSource
,ManagedFunctionSectionSource
,OpenApiSectionSource
,ProcedureSectionSource
,SectionModelSectionSource
,ServletSectionSource
,TransformSectionSource
,WebFluxSectionSource
,WebMvcSectionSource
,WebTemplateSectionSource
public abstract class AbstractSectionSource extends java.lang.Object implements SectionSource
AbstractSectionSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
AbstractSectionSource.SpecificationContext
Context for defining the specification.
-
Constructor Summary
Constructors Constructor Description AbstractSectionSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SectionSourceSpecification
getSpecification()
Obtains theSectionSourceSpecification
for thisSectionSource
.protected abstract void
loadSpecification(AbstractSectionSource.SpecificationContext context)
Loads theSectionSourceSpecification
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.spi.section.source.SectionSource
sourceSection
-
-
-
-
Method Detail
-
getSpecification
public SectionSourceSpecification getSpecification()
Description copied from interface:SectionSource
Obtains the
SectionSourceSpecification
for thisSectionSource
.This enables the
SectionSourceContext
to be populated with the necessary details as per thisSectionSourceSpecification
in loading theSectionType
.- Specified by:
getSpecification
in interfaceSectionSource
- Returns:
SectionSourceSpecification
.
-
loadSpecification
protected abstract void loadSpecification(AbstractSectionSource.SpecificationContext context)
Loads theSectionSourceSpecification
.- Parameters:
context
-AbstractSectionSource.SpecificationContext
.
-
-