org.kuali.rice.ksb.messaging.serviceproxies
Class DelayedAsynchronousServiceCallProxy
java.lang.Object
org.kuali.rice.core.proxy.BaseInvocationHandler
org.kuali.rice.ksb.messaging.serviceproxies.DelayedAsynchronousServiceCallProxy
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler, org.kuali.rice.core.proxy.TargetedInvocationHandler
public class DelayedAsynchronousServiceCallProxy
- extends BaseInvocationHandler
- implements org.kuali.rice.core.proxy.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 |
Methods inherited from interface java.lang.reflect.InvocationHandler |
invoke |
DelayedAsynchronousServiceCallProxy
protected DelayedAsynchronousServiceCallProxy(java.util.List<RemotedServiceHolder> serviceDefs,
java.io.Serializable context,
java.lang.String value1,
java.lang.String value2,
long delayMilliseconds)
createInstance
public static java.lang.Object createInstance(java.util.List<RemotedServiceHolder> serviceDefs,
java.io.Serializable context,
java.lang.String value1,
java.lang.String value2,
long delayMilliseconds)
invokeInternal
protected java.lang.Object invokeInternal(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
throws java.lang.Throwable
- Specified by:
invokeInternal
in class BaseInvocationHandler
- Throws:
java.lang.Throwable
scheduleMessage
protected void scheduleMessage(PersistedMessage message)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
getTarget
public java.lang.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:
getTarget
in interface org.kuali.rice.core.proxy.TargetedInvocationHandler
getServiceDefs
public java.util.List<RemotedServiceHolder> getServiceDefs()
setServiceDefs
public void setServiceDefs(java.util.List<RemotedServiceHolder> serviceDefs)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.