org.kuali.rice.ksb.api.messaging
Class AsynchronousCall

java.lang.Object
  extended by org.kuali.rice.ksb.api.messaging.AsynchronousCall
All Implemented Interfaces:
Serializable

public class AsynchronousCall
extends Object
implements Serializable

Encapsulates an asynchronous call to a service.

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

Field Summary
private  Object[] arguments
           
private  AsynchronousCallback callback
           
private  Serializable context
           
private  boolean ignoreStoreAndForward
           
private  String methodName
           
private  Class<?>[] paramTypes
           
private static long serialVersionUID
           
private  ServiceConfiguration serviceConfiguration
           
 
Constructor Summary
AsynchronousCall(Class<?>[] paramTypes, Object[] arguments, ServiceConfiguration serviceConfiguration, String methodName, AsynchronousCallback callback, Serializable context)
           
 
Method Summary
 Object[] getArguments()
           
 AsynchronousCallback getCallback()
           
 Serializable getContext()
           
 String getMethodName()
           
 Class<?>[] getParamTypes()
           
 ServiceConfiguration getServiceConfiguration()
           
private static String getStringifiedArray(Object[] array)
          Takes an Object[] and returns a human-readable String of the contents Candidate for relocation to a utility class
 boolean isIgnoreStoreAndForward()
           
 void setContext(Serializable context)
           
 void setIgnoreStoreAndForward(boolean ignoreStoreAndForward)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

arguments

private Object[] arguments

paramTypes

private Class<?>[] paramTypes

serviceConfiguration

private ServiceConfiguration serviceConfiguration

context

private Serializable context

methodName

private String methodName

callback

private AsynchronousCallback callback

ignoreStoreAndForward

private boolean ignoreStoreAndForward
Constructor Detail

AsynchronousCall

public AsynchronousCall(Class<?>[] paramTypes,
                        Object[] arguments,
                        ServiceConfiguration serviceConfiguration,
                        String methodName,
                        AsynchronousCallback callback,
                        Serializable context)
Method Detail

getArguments

public Object[] getArguments()

getParamTypes

public Class<?>[] getParamTypes()

getServiceConfiguration

public ServiceConfiguration getServiceConfiguration()

getMethodName

public String getMethodName()

getCallback

public AsynchronousCallback getCallback()

toString

public String toString()
Overrides:
toString in class Object

getStringifiedArray

private static final String getStringifiedArray(Object[] array)
Takes an Object[] and returns a human-readable String of the contents Candidate for relocation to a utility class

Parameters:
array - the Object[]
Returns:
a human-readable String of the contents

isIgnoreStoreAndForward

public boolean isIgnoreStoreAndForward()

setIgnoreStoreAndForward

public void setIgnoreStoreAndForward(boolean ignoreStoreAndForward)

getContext

public Serializable getContext()

setContext

public void setContext(Serializable context)


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