org.kuali.rice.ksb.messaging.serviceproxies
Class DelayedAsynchronousServiceCallProxy
java.lang.Object
   org.kuali.rice.core.api.util.reflect.BaseInvocationHandler
org.kuali.rice.core.api.util.reflect.BaseInvocationHandler
       org.kuali.rice.ksb.messaging.serviceproxies.DelayedAsynchronousServiceCallProxy
org.kuali.rice.ksb.messaging.serviceproxies.DelayedAsynchronousServiceCallProxy
- All Implemented Interfaces: 
- InvocationHandler, TargetedInvocationHandler
- public class DelayedAsynchronousServiceCallProxy 
- extends BaseInvocationHandler- implements TargetedInvocationHandler
A proxy which schedules a service to be executed asynchronously after some delay period.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
DelayedAsynchronousServiceCallProxy
protected DelayedAsynchronousServiceCallProxy(List<Endpoint> endpoints,
                                              Serializable context,
                                              String value1,
                                              String value2,
                                              long delayMilliseconds)
createInstance
public static Object createInstance(List<Endpoint> endpoints,
                                    Serializable context,
                                    String value1,
                                    String value2,
                                    long delayMilliseconds)
- 
 
- 
 
invokeInternal
protected Object invokeInternal(Object proxy,
                                Method method,
                                Object[] arguments)
                         throws Throwable
- 
- Specified by:
- invokeInternalin class- BaseInvocationHandler
 
- 
- Throws:
- Throwable
 
scheduleMessage
protected void scheduleMessage(PersistedMessageBO message)
                        throws org.quartz.SchedulerException
- 
 
- 
- Throws:
- org.quartz.SchedulerException
 
getTarget
public Object getTarget()
- Returns the List of asynchronous services which will be invoked by calls to this proxy.
 This is a List because, in the case of Topics, there can be more than one service invoked.
 
- 
- Specified by:
- getTargetin interface- TargetedInvocationHandler
 
- 
- Returns:
- the target object
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.