org.ow2.frascati.fscript.model
Interface NodeFactory


public interface NodeFactory

A factory for SCA-specific nodes. This interface can be used by clients to wrap objects from the standard SCA API in Nodes appropriate for FPath to manipulate in a uniform way.

Author:
Christophe Demarey

Method Summary
 ScaComponentNode createScaComponentNode(org.objectweb.fractal.api.Component comp)
          Create a new ScaComponentNode instance.
 ScaReferenceNode createScaReferenceNode(org.objectweb.fractal.api.Interface itf)
          Create a new ScaReferenceNode instance.
 ScaServiceNode createScaServiceNode(org.objectweb.fractal.api.Interface itf)
          Create a new ScaServiceNode instance.
 

Method Detail

createScaComponentNode

ScaComponentNode createScaComponentNode(org.objectweb.fractal.api.Component comp)
Create a new ScaComponentNode instance.

Parameters:
comp - The SCA component to encapsulate.
Returns:
the ScaComponentNode instance

createScaServiceNode

ScaServiceNode createScaServiceNode(org.objectweb.fractal.api.Interface itf)
Create a new ScaServiceNode instance.

Parameters:
comp - The SCA service to encapsulate.
Returns:
the ScaServiceNode instance

createScaReferenceNode

ScaReferenceNode createScaReferenceNode(org.objectweb.fractal.api.Interface itf)
Create a new ScaReferenceNode instance.

Parameters:
comp - The SCA reference to encapsulate.
Returns:
the ScaReferenceNode instance


Copyright © 2009-2010 OW2 Consortium. All Rights Reserved.