GigaSpaces XAP 7.1 API

org.openspaces.remoting
Class AsyncRemotingProxyConfigurer<T>

java.lang.Object
  extended by org.openspaces.remoting.AsyncRemotingProxyConfigurer<T>

Deprecated. Use EventDrivenRemotingProxyConfigurer. Async remoting renamed to event driven.

@Deprecated
public class AsyncRemotingProxyConfigurer<T>
extends Object

A simple programmatic configurer creating a remote asyncronous proxy

Usage example:

 IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace")
                        .space();
 GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace();
 MyBusinessInterface proxy = new AsyncRemotingProxyConfigurer<MyBusinessInterface>(gigaSpace, MyBusinessInterface.class)
                                  .timeout(15000)
                                  .asyncProxy();
 proxy.businessMethod(...);
 

Author:
Uri Cohen

Constructor Summary
AsyncRemotingProxyConfigurer(GigaSpace gigaSpace, Class<T> serviceInterface)
          Deprecated.  
 
Method Summary
 T asyncProxy()
          Deprecated. Creates a new asynchronous proxy of type T
 AsyncRemotingProxyConfigurer<T> fifo(boolean fifo)
          Deprecated.  
 AsyncRemotingProxyConfigurer<T> globalOneWay(boolean globalOneWay)
          Deprecated.  
 AsyncRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler)
          Deprecated.  
 T proxy()
          Deprecated. Creates a new asynchronous proxy of type T
 AsyncRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect)
          Deprecated.  
 AsyncRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler)
          Deprecated.  
 AsyncRemotingProxyConfigurer<T> timeout(long timeout)
          Deprecated.  
 AsyncRemotingProxyConfigurer<T> voidOneWay(boolean voidOneWay)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncRemotingProxyConfigurer

public AsyncRemotingProxyConfigurer(GigaSpace gigaSpace,
                                    Class<T> serviceInterface)
Deprecated. 
Method Detail

globalOneWay

public AsyncRemotingProxyConfigurer<T> globalOneWay(boolean globalOneWay)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setGlobalOneWay(boolean)

fifo

public AsyncRemotingProxyConfigurer<T> fifo(boolean fifo)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean)

metaArgumentsHandler

public AsyncRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(MetaArgumentsHandler)

remoteInvocationAspect

public AsyncRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.remoteInvocationAspect

voidOneWay

public AsyncRemotingProxyConfigurer<T> voidOneWay(boolean voidOneWay)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setVoidOneWay(boolean)

timeout

public AsyncRemotingProxyConfigurer<T> timeout(long timeout)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)

remoteRoutingHandler

public AsyncRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler)
Deprecated. 
See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(RemoteRoutingHandler)

asyncProxy

public T asyncProxy()
Deprecated. 
Creates a new asynchronous proxy of type T


proxy

public T proxy()
Deprecated. 
Creates a new asynchronous proxy of type T


GigaSpaces XAP 7.1 API

Copyright © GigaSpaces.