| Package | Description |
|---|---|
| delight.factories | |
| delight.factories.internal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Factory<ObjectType,ConfigurationType extends Configuration,DependenciesType extends Dependencies>
A factory which can instantiate objects from a
Configuration and
run-time Dependencies. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Factory.canInstantiate(Configuration conf)
This method tests whether the supplied
Configuration can be
instantiated into an object by this factory. |
void |
FactoryCollection.replace(Configuration configuration,
Factory<?,?,?> factory)
Attempts to find a factory in this collection, which is capable of
instantiating the provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FactoryCollectionImpl.canInstantiate(Configuration conf) |
Object |
FactoryCollectionImpl.create(Configuration conf,
Dependencies dependencies) |
void |
FactoryCollectionImpl.replace(Configuration configuration,
Factory<?,?,?> replacement) |
Copyright © 2018. All rights reserved.