@RemoteServiceRelativePath(value="metawidget-inspector")
public interface GwtRemoteInspector
extends com.google.gwt.user.client.rpc.RemoteService
GwtRemoteInspectorImpl servlet.
Note: this interface is purely for the AJAX call. It looks similar to Inspector, but
differs in that:
toInspect to Serializable. This helps reduce the class
graph the GWT compiler must consider (ie. smaller than Object), as well as ensuring
only Serializable types are passed 'over the wire'String[] instead of String.... This is necessary because
GwtRemoteInspectorAsync needs to append an AsyncCallback as a last
argumentThis interface is designed to work 'out of the box' for most cases. However, use of Serializable as a parameter type is not optimal for GWT. We recommend deriving your own interface with your own business-model-specific base class instead.
| Modifier and Type | Method and Description |
|---|---|
String |
inspect(Serializable toInspect,
String type,
String[] names) |
String inspect(Serializable toInspect, String type, String[] names)
Copyright © 2015. All Rights Reserved.