站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

GenericCallback (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.common
Class GenericCallback

java.lang.Object
  extended by org.drools.brms.client.common.GenericCallback
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback

public abstract class GenericCallback
extends Object
implements com.google.gwt.user.client.rpc.AsyncCallback

This is a generic call back that handles errors (very simply).

Author:
Michael Neale

Constructor Summary
GenericCallback()
           
 
Method Summary
 void onFailure(Throwable t)
           
abstract  void onSuccess(Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCallback

public GenericCallback()
Method Detail

onFailure

public void onFailure(Throwable t)
Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback

onSuccess

public abstract void onSuccess(Object data)
Specified by:
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.