public class SimpleCallback extends Object implements AsynchronousCallback
| Constructor and Description |
|---|
SimpleCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
callback(Serializable returnObject,
AsynchronousCall methodCall) |
AsynchronousCall |
getMethodCall() |
Serializable |
getReturnObject() |
void |
setMethodCall(AsynchronousCall methodCall) |
void |
setReturnObject(Serializable returnObject) |
void |
waitForAsyncCall() |
void |
waitForAsyncCall(long millis) |
public SimpleCallback()
public void callback(Serializable returnObject, AsynchronousCall methodCall)
callback in interface AsynchronousCallbackpublic AsynchronousCall getMethodCall()
public void setMethodCall(AsynchronousCall methodCall)
public Serializable getReturnObject()
public void setReturnObject(Serializable returnObject)
public void waitForAsyncCall() throws InterruptedException
InterruptedExceptionpublic void waitForAsyncCall(long millis) throws InterruptedException
InterruptedExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.