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

Field Summary
static String NAME
           
static InterfaceType TYPE
           
 
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.
 
Methods inherited from interface org.objectweb.fractal.api.factory.Factory
getFcContentDesc, getFcControllerDesc, getFcInstanceType, newFcInstance
 

Field Detail

NAME

static final String NAME
See Also:
Constant Field Values

TYPE

static final InterfaceType TYPE
Method Detail

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 clone
newContent - the map containing associations between old and new components
Returns:
the newly created component
Throws:
InstantiationException