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
IFactoryKey
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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html