Code example for Handler.Callback

Methods: handleMessage

0
 
	/** {@inheritDoc} */ 
	@Override 
	protected void onSuccess(final Boolean t) throws Exception {
		if (callback instanceof Callback) {
			callback.handleMessage(null);
		} 
	} 
 
	/** {@inheritDoc} */ 
	public Boolean call() throws Exception {
		return service.performETL();
	} 
 
	/** 
	 * @param callback 
	 */ 
	public void setCallback(final Callback callback) {
		this.callback = callback;
	}