com.metamatrix.platform.service.proxy
Class SingleInvokationProxy

java.lang.Object
  extended by com.metamatrix.platform.service.proxy.ServiceProxy
      extended by com.metamatrix.platform.service.proxy.SingleInvokationProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class SingleInvokationProxy
extends ServiceProxy

Will attempt to invoke services until the first result is obtained


Field Summary
 
Fields inherited from class com.metamatrix.platform.service.proxy.ServiceProxy
MAX_RETRY_DELAY_VAL
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
           
 
Methods inherited from class com.metamatrix.platform.service.proxy.ServiceProxy
getInstances, getNextInstance, getRetryLimit, getServiceType, getStickyFlag, logException, setRetryLimit, setServiceSelectionPolicy, setStickyFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method m,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2009. All Rights Reserved.