|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.DefaultJavascriptFunction
public class DefaultJavascriptFunction
Represents a callback function, passed in from a client for later execution.
A DefaultJavascriptFunction is tied to a specific function in a specific browser
page. In this way the eval of a DefaultJavascriptFunction is outside of the normal
execution scoping provided by Browser.
| Constructor Summary | |
|---|---|
DefaultJavascriptFunction(ScriptSession session,
java.lang.String id)
|
|
| Method Summary | |
|---|---|
void |
close()
A small amount of data is stored on the client to track the remotely. |
boolean |
equals(java.lang.Object obj)
|
void |
execute(java.lang.Object... params)
Execute the function. |
void |
executeAndClose(java.lang.Object... params)
Execute the function, and clear it's data from the client. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJavascriptFunction(ScriptSession session,
java.lang.String id)
| Method Detail |
|---|
public void execute(java.lang.Object... params)
JavascriptFunction
execute in interface JavascriptFunctionparams - The data to pass to the serverpublic void close()
JavascriptFunction
close in interface JavascriptFunctionpublic void executeAndClose(java.lang.Object... params)
JavascriptFunction
executeAndClose in interface JavascriptFunctionparams - The data to pass to the serverJavascriptFunction.execute(java.lang.Object...),
JavascriptFunction.close()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||