public class SupplierSourceContextImpl extends SourceContextImpl implements SupplierSourceContext
SupplierSourceContext
implementation.Constructor and Description |
---|
SupplierSourceContextImpl(boolean isLoadingType,
Node node,
PropertyList propertyList,
NodeContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
<D extends Enum<D>,F extends Enum<F>> |
addManagedObject(ManagedObjectSource<D,F> managedObjectSource,
ManagedObjectSourceWirer wirer,
AutoWire... autoWiring)
Adds a potential
ManagedObjectSource for dependency injection. |
<S extends SupplierSource> |
loadSupplier(Class<S> supplierSourceClass,
PropertyList propertyList,
SupplyOrder... supplyOrders)
Loads the
SupplierType from the added ManagedObject
instances, along with filling SupplyOrder instances. |
getClassLoader, getOptionalResource, getResource, isLoadingType, loadClass, loadOptionalClass
addProperty, getProperties, getProperty, getProperty, getPropertyNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassLoader, getOptionalResource, getResource, isLoadingType, loadClass, loadOptionalClass
getProperties, getProperty, getProperty, getPropertyNames
public SupplierSourceContextImpl(boolean isLoadingType, Node node, PropertyList propertyList, NodeContext context)
isLoadingType
- Indicates if loading type.node
- Node
.propertyList
- PropertyList
.context
- NodeContext
.public <S extends SupplierSource> SupplierType loadSupplier(Class<S> supplierSourceClass, PropertyList propertyList, SupplyOrder... supplyOrders)
SupplierType
from the added ManagedObject
instances, along with filling SupplyOrder
instances.S
- SupplierSource
type.supplierSourceClass
- SupplierSource
class.propertyList
- PropertyList
.supplyOrders
- SupplyOrder
instances.SupplierType
.public <D extends Enum<D>,F extends Enum<F>> AutoWireObject addManagedObject(ManagedObjectSource<D,F> managedObjectSource, ManagedObjectSourceWirer wirer, AutoWire... autoWiring)
SupplierSourceContext
ManagedObjectSource
for dependency injection.addManagedObject
in interface SupplierSourceContext
D
- Dependency type keys.F
- JobSequence
type keys.managedObjectSource
- ManagedObjectSource
.wirer
- ManagedObjectSourceWirer
to assist in configuring the
ManagedObjectSource
. May be null
if no
assistance is required.autoWiring
- AutoWire
matches that the ManagedObjectSource
is to provide dependency injection. At least one
AutoWire
must be provided.AutoWireObject
for the ManagedObjectSource
.Copyright © 2005–2016. All rights reserved.