|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.frascati.fscript.model.ScaNewAction
public class ScaNewAction
Implements the sca-new() action to instantiate SCA composites
using FraSCAti Assembly Factory.
| Field Summary | |
|---|---|
static java.lang.String |
MODEL_ITF_NAME
The model client interface name. |
| Constructor Summary | |
|---|---|
ScaNewAction()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
apply(java.util.List<java.lang.Object> args,
org.objectweb.fractal.fscript.interpreter.Context ctx)
Apply this procedure to the specified arguments. |
void |
bindFc(java.lang.String itfName,
java.lang.Object srvItf)
|
java.lang.String |
getName()
Returns the name of the procedure. |
org.objectweb.fractal.fscript.types.Signature |
getSignature()
Returns the signature of this procedure. |
boolean |
isPureFunction()
Tests whether this procedure is a pure function (i.e. without side-effect), or an action (with potential side-effects). |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String itfName)
|
void |
unbindFc(java.lang.String itfName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MODEL_ITF_NAME
| Constructor Detail |
|---|
public ScaNewAction()
| Method Detail |
|---|
public final java.lang.String getName()
getName in interface org.objectweb.fractal.fscript.procedures.Procedurepublic final org.objectweb.fractal.fscript.types.Signature getSignature()
getSignature in interface org.objectweb.fractal.fscript.procedures.Procedurepublic final boolean isPureFunction()
isPureFunction in interface org.objectweb.fractal.fscript.procedures.Proceduretrue if this procedure is a pure function.
public final java.lang.Object apply(java.util.List<java.lang.Object> args,
org.objectweb.fractal.fscript.interpreter.Context ctx)
throws org.objectweb.fractal.fscript.ScriptExecutionError
apply in interface org.objectweb.fractal.fscript.procedures.NativeProcedureargs - the arguments of the procedure call.ctx - the execution context in which to execute the procedure.
org.objectweb.fractal.fscript.ScriptExecutionError - if any error occurred during the execution of the procedure.public final java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingController
public final void bindFc(java.lang.String itfName,
java.lang.Object srvItf)
throws org.objectweb.fractal.api.NoSuchInterfaceException
bindFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
public final java.lang.Object lookupFc(java.lang.String itfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
lookupFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
public final void unbindFc(java.lang.String itfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||