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 |
|---|---|
java.lang.Object |
create(java.lang.String description) |
java.lang.String |
getDescriptionFor(java.lang.Object product) |
IFactoryKey |
getKey() |
IFactoryKey getKey()
java.lang.Object create(java.lang.String description)
throws ProductCreationException
ProductCreationExceptionjava.lang.String getDescriptionFor(java.lang.Object product)
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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