org.ow2.jasmine.jade.reflex.api.factory
Interface GenericFactoryNotification

All Known Subinterfaces:
GenericInstallingFactoryNotification
All Known Implementing Classes:
ReflexGenericFactoryMixin, ReflexGenericInstallingFactoryMixin

public interface GenericFactoryNotification

This interface is used to notify the creation of a component between the meta and the exec level (and vice versa).

Author:
Noel de palma

Method Summary
 org.objectweb.fractal.api.Component newFcInstanceNotification(org.objectweb.fractal.api.Type type, java.lang.Object controllerDesc, java.lang.Object contentDesc)
          Creates a component.
 

Method Detail

newFcInstanceNotification

org.objectweb.fractal.api.Component newFcInstanceNotification(org.objectweb.fractal.api.Type type,
                                                              java.lang.Object controllerDesc,
                                                              java.lang.Object contentDesc)
                                                              throws org.objectweb.fractal.api.factory.InstantiationException
Creates a component.

Parameters:
type - an arbitrary component type.
controllerDesc - a description of the controller part of the component to be created. This description is implementation specific. If it is null then a "default" controller part will be used.
contentDesc - a description of the content part of the component to be created. This description is implementation specific. It may be null to create component with an empty initial content. It may also be, in Java, the fully qualified name of a Java class, to create primitive components.
Returns:
the Component interface of the created component.
Throws:
org.objectweb.fractal.api.factory.InstantiationException - if the component cannot be created.


Copyright © 2008 OW2 Consortium. All Rights Reserved.