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
InitialSupplierType
implementation.- 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 theInternalSupplier
instances from theSupplierSource
.SuppliedManagedObjectSourceType[]
getSuppliedManagedObjectTypes()
Obtains the possibleSuppliedManagedObjectSourceType
instances from theSupplierSource
.SupplierThreadLocalType[]
getSupplierThreadLocalTypes()
Obtains the requiredSupplierThreadLocalType
instances required by theSupplierSource
.ThreadSynchroniserFactory[]
getThreadSynchronisers()
Obtains theThreadSynchroniserFactory
instances required by theSupplierSource
.
-
-
-
Constructor Detail
-
SupplierTypeImpl
public SupplierTypeImpl(SupplierThreadLocalType[] supplierThreadLocalTypes, ThreadSynchroniserFactory[] threadSynchronisers, SuppliedManagedObjectSourceType[] suppliedManagedObjectTypes, InternalSupplier[] internalSuppliers)
Initiate.- Parameters:
supplierThreadLocalTypes
-SupplierThreadLocalType
instances.threadSynchronisers
-ThreadSynchroniserFactory
instances.suppliedManagedObjectTypes
-SuppliedManagedObjectSourceType
instances.internalSuppliers
-InternalSupplier
instances.
-
-
Method Detail
-
getSupplierThreadLocalTypes
public SupplierThreadLocalType[] getSupplierThreadLocalTypes()
Description copied from interface:SupplierType
Obtains the requiredSupplierThreadLocalType
instances required by theSupplierSource
.- Specified by:
getSupplierThreadLocalTypes
in interfaceSupplierType
- Returns:
- Required
SupplierThreadLocalType
instances required by theSupplierSource
.
-
getThreadSynchronisers
public ThreadSynchroniserFactory[] getThreadSynchronisers()
Description copied from interface:SupplierType
Obtains theThreadSynchroniserFactory
instances required by theSupplierSource
.- Specified by:
getThreadSynchronisers
in interfaceSupplierType
- Returns:
- Required
ThreadSynchroniserFactory
instances required by theSupplierSource
.
-
getSuppliedManagedObjectTypes
public SuppliedManagedObjectSourceType[] getSuppliedManagedObjectTypes()
Description copied from interface:SupplierType
Obtains the possibleSuppliedManagedObjectSourceType
instances from theSupplierSource
.- Specified by:
getSuppliedManagedObjectTypes
in interfaceSupplierType
- Returns:
- Possible
SuppliedManagedObjectSourceType
instances from theSupplierSource
.
-
getInternalSuppliers
public InternalSupplier[] getInternalSuppliers()
Description copied from interface:SupplierType
Obtains theInternalSupplier
instances from theSupplierSource
.- Specified by:
getInternalSuppliers
in interfaceSupplierType
- Returns:
InternalSupplier
instances from theSupplierSource
.
-
-