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 interface
AbstractSupplierSource.SpecificationContext
Context 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 SupplierSourceSpecification
getSpecification()
Obtains theSupplierSourceSpecification
for thisSupplierSource
.protected abstract void
loadSpecification(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:SupplierSource
Obtains the
SupplierSourceSpecification
for thisSupplierSource
.This enables the
SupplierSourceContext
to be populated with the necessary details as per thisSupplierSourceSpecification
in loading theInitialSupplierType
.- Specified by:
getSpecification
in interfaceSupplierSource
- Returns:
SupplierSourceSpecification
.
-
loadSpecification
protected abstract void loadSpecification(AbstractSupplierSource.SpecificationContext context)
Loads theSupplierSourceSpecification
.- Parameters:
context
-AbstractSupplierSource.SpecificationContext
.
-
-