com.atlassian.confluence.rest.client.proxy
Class RemoteServiceProxyCreator

java.lang.Object
  extended by com.atlassian.confluence.rest.client.proxy.RemoteServiceProxyCreator

public class RemoteServiceProxyCreator
extends java.lang.Object

Proxy's a remote service with a local service interface. It is useful in unit tests but that is about all. Proxies will completely ignore that they are calling over network. Each call to the proxied service will wait on the returned future for up to 30 secsonds


Constructor Summary
RemoteServiceProxyCreator()
           
 
Method Summary
static
<T> T
createProxy(AbstractRemoteService<T> remoteService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServiceProxyCreator

public RemoteServiceProxyCreator()
Method Detail

createProxy

public static <T> T createProxy(AbstractRemoteService<T> remoteService)


Copyright © 2003-2014 Atlassian. All Rights Reserved.