|
||||||||||
| 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 java.lang.String |
BINDING_FACTORY_ITF
|
static java.lang.String |
CLASSLOADER_MANAGER_ITF
|
static java.lang.String |
COMPOSITE_MANAGER_ITF
Names of bindings |
static java.lang.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(java.lang.String clItfName,
java.lang.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. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clItfName)
|
java.lang.String |
toString()
Print this model. |
void |
unbindFc(java.lang.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 java.lang.String COMPOSITE_MANAGER_ITF
public static final java.lang.String CLASSLOADER_MANAGER_ITF
public static final java.lang.String BINDING_FACTORY_ITF
public static final java.lang.String NAME
| Constructor Detail |
|---|
public FraSCAtiModel()
| Method Detail |
|---|
protected final void createNodeKinds()
createNodeKinds in class org.objectweb.fractal.fscript.model.fractal.FractalModelprotected final void createAxes()
createAxes in class org.objectweb.fractal.fscript.model.fractal.FractalModelprotected final void createAdditionalProcedures()
Model APIs.
createAdditionalProcedures in class org.objectweb.fractal.fscript.model.fractal.FractalModelpublic final ScaComponentNode createScaComponentNode(org.objectweb.fractal.api.Component comp)
comp - The SCA component to encapsulate.
public final ScaServiceNode createScaServiceNode(org.objectweb.fractal.api.Interface itf)
comp - The SCA service to encapsulate.
public final ScaReferenceNode createScaReferenceNode(org.objectweb.fractal.api.Interface itf)
comp - The SCA reference to encapsulate.
public final java.lang.String toString()
toString in class org.objectweb.fractal.fscript.model.fractal.FractalModelpublic final java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerlistFc in class org.objectweb.fractal.fscript.model.fractal.FractalModel
public final java.lang.Object lookupFc(java.lang.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 final void bindFc(java.lang.String clItfName,
java.lang.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 final void unbindFc(java.lang.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 | |||||||||