Class SupplierTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.supplier.SupplierTypeImpl
-
- All Implemented Interfaces:
SupplierType
- Direct Known Subclasses:
InitialSupplierTypeImpl
public class SupplierTypeImpl extends java.lang.Object implements SupplierType
InitialSupplierTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SupplierTypeImpl(SupplierThreadLocalType[] supplierThreadLocalTypes, ThreadSynchroniserFactory[] threadSynchronisers, SuppliedManagedObjectSourceType[] suppliedManagedObjectTypes, InternalSupplier[] internalSuppliers)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalSupplier[]getInternalSuppliers()Obtains theInternalSupplierinstances from theSupplierSource.SuppliedManagedObjectSourceType[]getSuppliedManagedObjectTypes()Obtains the possibleSuppliedManagedObjectSourceTypeinstances from theSupplierSource.SupplierThreadLocalType[]getSupplierThreadLocalTypes()Obtains the requiredSupplierThreadLocalTypeinstances required by theSupplierSource.ThreadSynchroniserFactory[]getThreadSynchronisers()Obtains theThreadSynchroniserFactoryinstances required by theSupplierSource.
-
-
-
Constructor Detail
-
SupplierTypeImpl
public SupplierTypeImpl(SupplierThreadLocalType[] supplierThreadLocalTypes, ThreadSynchroniserFactory[] threadSynchronisers, SuppliedManagedObjectSourceType[] suppliedManagedObjectTypes, InternalSupplier[] internalSuppliers)
Initiate.- Parameters:
supplierThreadLocalTypes-SupplierThreadLocalTypeinstances.threadSynchronisers-ThreadSynchroniserFactoryinstances.suppliedManagedObjectTypes-SuppliedManagedObjectSourceTypeinstances.internalSuppliers-InternalSupplierinstances.
-
-
Method Detail
-
getSupplierThreadLocalTypes
public SupplierThreadLocalType[] getSupplierThreadLocalTypes()
Description copied from interface:SupplierTypeObtains the requiredSupplierThreadLocalTypeinstances required by theSupplierSource.- Specified by:
getSupplierThreadLocalTypesin interfaceSupplierType- Returns:
- Required
SupplierThreadLocalTypeinstances required by theSupplierSource.
-
getThreadSynchronisers
public ThreadSynchroniserFactory[] getThreadSynchronisers()
Description copied from interface:SupplierTypeObtains theThreadSynchroniserFactoryinstances required by theSupplierSource.- Specified by:
getThreadSynchronisersin interfaceSupplierType- Returns:
- Required
ThreadSynchroniserFactoryinstances required by theSupplierSource.
-
getSuppliedManagedObjectTypes
public SuppliedManagedObjectSourceType[] getSuppliedManagedObjectTypes()
Description copied from interface:SupplierTypeObtains the possibleSuppliedManagedObjectSourceTypeinstances from theSupplierSource.- Specified by:
getSuppliedManagedObjectTypesin interfaceSupplierType- Returns:
- Possible
SuppliedManagedObjectSourceTypeinstances from theSupplierSource.
-
getInternalSuppliers
public InternalSupplier[] getInternalSuppliers()
Description copied from interface:SupplierTypeObtains theInternalSupplierinstances from theSupplierSource.- Specified by:
getInternalSuppliersin interfaceSupplierType- Returns:
InternalSupplierinstances from theSupplierSource.
-
-