|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.fscript.model.BasicModel
org.objectweb.fractal.fscript.model.fractal.FractalModel
org.ow2.frascati.fscript.model.FraSCAtiModel
public class FraSCAtiModel
This class represents the SCA Fractal component model in terms of the
Model APIs. It describes which kinds of nodes are present in a SCA
architecture, what properties these nodes have, and what axes can connect these nodes
together to form a complete SCA architecture.
| Field Summary | |
|---|---|
static String |
BINDING_FACTORY_ITF
|
static String |
CLASSLOADER_MANAGER_ITF
|
static String |
COMPOSITE_MANAGER_ITF
Names of bindings |
static String |
NAME
|
| Fields inherited from class org.objectweb.fractal.fscript.model.BasicModel |
|---|
axes, natives, nodeKinds |
| Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
|---|
STARTED, STOPPED |
| Constructor Summary | |
|---|---|
FraSCAtiModel()
|
|
| Method Summary | |
|---|---|
void |
bindFc(String clItfName,
Object srvItf)
|
protected void |
createAdditionalProcedures()
Contributes a few custom procedures to manipulate Fractal architecture which can not be described and generated in the framework of the Model APIs. |
protected void |
createAxes()
Contributes the axes which can be used to connect Fractal nodes in order to represent the structure of a Fractal architecture. |
protected void |
createNodeKinds()
Contributes the different kinds of nodes used to represent Fractal architectures. |
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. |
String[] |
listFc()
|
Object |
lookupFc(String clItfName)
|
String |
toString()
Print this model. |
void |
unbindFc(String clItfName)
|
| Methods inherited from class org.objectweb.fractal.fscript.model.fractal.FractalModel |
|---|
createAttributeNode, createComponentNode, createInterfaceNode, getInstanciationContext |
| Methods inherited from class org.objectweb.fractal.fscript.model.BasicModel |
|---|
addAxis, addKind, addKind, addProcedure, getAvailableProcedures, getAxes, getAxis, getFcState, getNativeProcedure, getNodeKind, getNodeKinds, hasProcedure, initialize, startFc, stopFc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPOSITE_MANAGER_ITF
public static final String CLASSLOADER_MANAGER_ITF
public static final String BINDING_FACTORY_ITF
public static final String NAME
| Constructor Detail |
|---|
public FraSCAtiModel()
| Method Detail |
|---|
protected void createNodeKinds()
createNodeKinds in class org.objectweb.fractal.fscript.model.fractal.FractalModelprotected void createAxes()
createAxes in class org.objectweb.fractal.fscript.model.fractal.FractalModelprotected void createAdditionalProcedures()
Model APIs.
createAdditionalProcedures in class org.objectweb.fractal.fscript.model.fractal.FractalModelpublic ScaComponentNode createScaComponentNode(org.objectweb.fractal.api.Component comp)
comp - The SCA component to encapsulate.
public ScaServiceNode createScaServiceNode(org.objectweb.fractal.api.Interface itf)
comp - The SCA service to encapsulate.
public ScaReferenceNode createScaReferenceNode(org.objectweb.fractal.api.Interface itf)
comp - The SCA reference to encapsulate.
public String toString()
toString in class org.objectweb.fractal.fscript.model.fractal.FractalModelpublic String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerlistFc in class org.objectweb.fractal.fscript.model.fractal.FractalModel
public Object lookupFc(String clItfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
lookupFc in interface org.objectweb.fractal.api.control.BindingControllerlookupFc in class org.objectweb.fractal.fscript.model.fractal.FractalModelorg.objectweb.fractal.api.NoSuchInterfaceException
public void bindFc(String clItfName,
Object srvItf)
throws org.objectweb.fractal.api.NoSuchInterfaceException
bindFc in interface org.objectweb.fractal.api.control.BindingControllerbindFc in class org.objectweb.fractal.fscript.model.fractal.FractalModelorg.objectweb.fractal.api.NoSuchInterfaceException
public void unbindFc(String clItfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerunbindFc in class org.objectweb.fractal.fscript.model.fractal.FractalModelorg.objectweb.fractal.api.NoSuchInterfaceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||