|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.frascati.fscript.procedures.AddBinding
org.ow2.frascati.fscript.procedures.AddRestBinding
public class AddRestBinding
Implements the add-rest-binding() function which adds
a RestFul binding to the SCA service/reference given as argument.
The second argument is the Rest URI.
| Field Summary |
|---|
| Fields inherited from class org.ow2.frascati.fscript.procedures.AddBinding |
|---|
CLASSLOADER, logger, model, PLUGIN_ID |
| Fields inherited from interface org.ow2.frascati.fscript.procedures.ScaNativeProcedure |
|---|
MODEL_ITF_NAME |
| Constructor Summary | |
|---|---|
AddRestBinding()
Default constructor. |
|
| Method Summary | |
|---|---|
Object |
apply(List<Object> args,
org.objectweb.fractal.fscript.interpreter.Context ctx)
Parse arguments and call createBinding() |
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). |
| Methods inherited from class org.ow2.frascati.fscript.procedures.AddBinding |
|---|
bindFc, createBinding, listFc, lookupFc, unbindFc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddRestBinding()
| Method Detail |
|---|
public String getName()
public org.objectweb.fractal.fscript.types.Signature getSignature()
public boolean isPureFunction()
true if this procedure is a pure function.
public Object apply(List<Object> args,
org.objectweb.fractal.fscript.interpreter.Context ctx)
throws org.objectweb.fractal.fscript.ScriptExecutionError
org.objectweb.fractal.fscript.ScriptExecutionError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||