com.smartgwt.client.docs.serverds
Class ServerObject

java.lang.Object
  extended by com.smartgwt.client.core.JsObject
      extended by com.smartgwt.client.core.DataClass
          extended by com.smartgwt.client.docs.serverds.ServerObject

public class ServerObject
extends DataClass

The ServerObject tells the ISC server how to find or create a server-side object involved in DMI (Direct Method Invocation).

A ServerObject declaration appears in the XML definition of a DataSource (for responding to DSRequests) or in an Application configuration file (.app.xml) for responding to RPCRequests.

NOTE: Please take note of the points made in this discussion of caching and thread-safety issues in server-side DataSources.


Field Summary
 
Fields inherited from class com.smartgwt.client.core.JsObject
jsObj
 
Constructor Summary
ServerObject()
           
ServerObject(JavaScriptObject jsObj)
           
 
Method Summary
static ServerObject getOrCreateRef(JavaScriptObject jsObj)
           
 
Methods inherited from class com.smartgwt.client.core.DataClass
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute
 
Methods inherited from class com.smartgwt.client.core.JsObject
isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerObject

public ServerObject()

ServerObject

public ServerObject(JavaScriptObject jsObj)
Method Detail

getOrCreateRef

public static ServerObject getOrCreateRef(JavaScriptObject jsObj)