T- The data type of the operation
public interface Callback<T> extends Serializable
void onSuccess(T data)
data- The received data of the operation.
void onFailure(Exception e)
e- The exception to give more insights on why the operation has failed.
Copyright © 2014 JBoss by Red Hat. All rights reserved.