aokell.lib.control.factory
Interface FactoryItf
- All Superinterfaces:
- Factory
- All Known Implementing Classes:
- AbstractFactoryImpl, CompositeFactoryImpl, PrimitiveFactoryImpl
public interface FactoryItf
- extends Factory
This interface extends the Fractal Factory interface with a method which
provides hints for instantiating a new component.
- Author:
- Lionel Seinturier
Method Summary |
Component |
newFcInstance(Component component,
Map newContent)
Recursively create a new component and store the association between old
instances and newly created ones in the given map. |
NAME
static final String NAME
- See Also:
- Constant Field Values
TYPE
static final InterfaceType TYPE
newFcInstance
Component newFcInstance(Component component,
Map newContent)
throws InstantiationException
- Recursively create a new component and store the association between old
instances and newly created ones in the given map.
- Parameters:
component
- the component to clonenewContent
- the map containing associations between old and new
components
- Returns:
- the newly created component
- Throws:
InstantiationException