Class AbstractSupplierSource
- java.lang.Object
-
- net.officefloor.compile.spi.supplier.source.impl.AbstractSupplierSource
-
- All Implemented Interfaces:
SupplierSource
- Direct Known Subclasses:
AbstractCosmosDbSupplierSource,DynamoDbSupplierSource,JaxRsSupplierSource,ObjectifySupplierSource,ServletSupplierSource,SpringSupplierSource,WebAppWoofExtensionService.WebAppSupplierSource
public abstract class AbstractSupplierSource extends java.lang.Object implements SupplierSource
AbstractSupplierSource.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceAbstractSupplierSource.SpecificationContextContext for defining the specification.
-
Constructor Summary
Constructors Constructor Description AbstractSupplierSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SupplierSourceSpecificationgetSpecification()Obtains theSupplierSourceSpecificationfor thisSupplierSource.protected abstract voidloadSpecification(AbstractSupplierSource.SpecificationContext context)Loads theSupplierSourceSpecification.-
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.supplier.source.SupplierSource
supply, terminate
-
-
-
-
Method Detail
-
getSpecification
public SupplierSourceSpecification getSpecification()
Description copied from interface:SupplierSourceObtains the
SupplierSourceSpecificationfor thisSupplierSource.This enables the
SupplierSourceContextto be populated with the necessary details as per thisSupplierSourceSpecificationin loading theInitialSupplierType.- Specified by:
getSpecificationin interfaceSupplierSource- Returns:
SupplierSourceSpecification.
-
loadSpecification
protected abstract void loadSpecification(AbstractSupplierSource.SpecificationContext context)
Loads theSupplierSourceSpecification.- Parameters:
context-AbstractSupplierSource.SpecificationContext.
-
-