org.openspaces.remoting
Class EventDrivenRemotingProxyConfigurer<T>
java.lang.Object
org.openspaces.remoting.EventDrivenRemotingProxyConfigurer<T>
public class EventDrivenRemotingProxyConfigurer<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 EventDrivenRemotingProxyConfigurer<MyBusinessInterface>(gigaSpace, MyBusinessInterface.class)
.timeout(15000)
.proxy();
proxy.businessMethod(...);
- Author:
- Uri Cohen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventDrivenRemotingProxyConfigurer
public EventDrivenRemotingProxyConfigurer(GigaSpace gigaSpace,
Class<T> serviceInterface)
globalOneWay
public EventDrivenRemotingProxyConfigurer<T> globalOneWay(boolean globalOneWay)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setGlobalOneWay(boolean)
fifo
public EventDrivenRemotingProxyConfigurer<T> fifo(boolean fifo)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean)
metaArgumentsHandler
public EventDrivenRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(org.openspaces.remoting.MetaArgumentsHandler)
remoteInvocationAspect
public EventDrivenRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.remoteInvocationAspect
voidOneWay
public EventDrivenRemotingProxyConfigurer<T> voidOneWay(boolean voidOneWay)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setVoidOneWay(boolean)
timeout
public EventDrivenRemotingProxyConfigurer<T> timeout(long timeout)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)
remoteRoutingHandler
public EventDrivenRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler)
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(org.openspaces.remoting.RemoteRoutingHandler)
proxy
public T proxy()
- Creates a new event driven proxy of type T
Copyright © GigaSpaces.