public interface IFactory
Creates
objects from a string description
.
If a factory is registered in an IManagedContainer
, the IManagedContainerFactory
extension interface
injects that container into the factory for it to reach back into to obtain dependencies.
IManagedContainerFactory
Modifier and Type | Method and Description |
---|---|
Object |
create(String description) |
String |
getDescriptionFor(Object product) |
IFactoryKey |
getKey() |
IFactoryKey getKey()
Object create(String description) throws ProductCreationException
ProductCreationException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.