org.kuali.rice.ksb.messaging.callbacks
Class SimpleCallback

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.callbacks.SimpleCallback
All Implemented Interfaces:
Serializable, AsynchronousCallback

public class SimpleCallback
extends Object
implements AsynchronousCallback

This is a description of what this class does - rkirkend don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  AsynchronousCall methodCall
           
private  Serializable returnObject
           
private static long serialVersionUID
           
 
Constructor Summary
SimpleCallback()
           
 
Method Summary
 void callback(Serializable returnObject, AsynchronousCall methodCall)
           
 AsynchronousCall getMethodCall()
           
 Serializable getReturnObject()
           
 void setMethodCall(AsynchronousCall methodCall)
           
 void setReturnObject(Serializable returnObject)
           
 void waitForAsyncCall()
           
 void waitForAsyncCall(long millis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

returnObject

private Serializable returnObject

methodCall

private AsynchronousCall methodCall
Constructor Detail

SimpleCallback

public SimpleCallback()
Method Detail

callback

public void callback(Serializable returnObject,
                     AsynchronousCall methodCall)
Specified by:
callback in interface AsynchronousCallback

getMethodCall

public AsynchronousCall getMethodCall()

setMethodCall

public void setMethodCall(AsynchronousCall methodCall)

getReturnObject

public Serializable getReturnObject()

setReturnObject

public void setReturnObject(Serializable returnObject)

waitForAsyncCall

public void waitForAsyncCall()
                      throws InterruptedException
Throws:
InterruptedException

waitForAsyncCall

public void waitForAsyncCall(long millis)
                      throws InterruptedException
Throws:
InterruptedException


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.