Package net.officefloor.nosql.dynamodb
Class DynamoDbSupplierSource
- java.lang.Object
-
- net.officefloor.compile.spi.supplier.source.impl.AbstractSupplierSource
-
- net.officefloor.nosql.dynamodb.DynamoDbSupplierSource
-
- All Implemented Interfaces:
SupplierSource
public class DynamoDbSupplierSource extends AbstractSupplierSource
SupplierSourceforDynamoDBMapper.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.supplier.source.impl.AbstractSupplierSource
AbstractSupplierSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_ENTITY_LOCATORS
-
Constructor Summary
Constructors Constructor Description DynamoDbSupplierSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidloadSpecification(AbstractSupplierSource.SpecificationContext context)Loads theSupplierSourceSpecification.voidsupply(SupplierSourceContext context)Supplies the necessaryManagedObjectSourceinstances.voidterminate()Terminates the supply contract.-
Methods inherited from class net.officefloor.compile.spi.supplier.source.impl.AbstractSupplierSource
getSpecification
-
-
-
-
Field Detail
-
PROPERTY_ENTITY_LOCATORS
public static final java.lang.String PROPERTY_ENTITY_LOCATORS
Propertyname for the comma separate list ofDynamoEntityLocatorClassnames.DynamoEntityLocatorinstances configured are instantiated by default constructors.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractSupplierSource.SpecificationContext context)
Description copied from class:AbstractSupplierSourceLoads theSupplierSourceSpecification.- Specified by:
loadSpecificationin classAbstractSupplierSource- Parameters:
context-AbstractSupplierSource.SpecificationContext.
-
supply
public void supply(SupplierSourceContext context) throws java.lang.Exception
Description copied from interface:SupplierSourceSupplies the necessaryManagedObjectSourceinstances.- Parameters:
context-SupplierSourceContext.- Throws:
java.lang.Exception- If fails to provide supply ofManagedObjectSourceinstances.
-
terminate
public void terminate()
Description copied from interface:SupplierSourceTerminates the supply contract.
This should release all resources required by the supplier.
-
-