public Object getTarget() {
return null;
}
public void getField(String name, long jsRootedValue) {
if (name.indexOf("toString") != -1) {
JsValueMoz64 jsValue = new JsValueMoz64(jsRootedValue);
jsValue.setWrappedFunction(name, EMPTY_DISP_METHOD);
} else if (name.indexOf("gwtOnLoad") != -1) {
JsValueMoz64 jsValue = new JsValueMoz64(jsRootedValue);
jsValue.setWrappedFunction(name, new DispatchMethod64() {
public void invoke(long jsthis, long[] jsargs, long returnValue) {
try {
System.out.println("Browser ready.");
// Attach a new ModuleSpace to make it programmable.
ModuleSpaceHost msh = getHost().createModuleSpaceHost(m_moduleName);