public class EventDrivenRemotingProxyConfigurer<T> extends Object
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(...);
Constructor and Description |
---|
EventDrivenRemotingProxyConfigurer(GigaSpace gigaSpace,
Class<T> serviceInterface) |
Modifier and Type | Method and Description |
---|---|
EventDrivenRemotingProxyConfigurer<T> |
fifo(boolean fifo) |
EventDrivenRemotingProxyConfigurer<T> |
globalOneWay(boolean globalOneWay) |
EventDrivenRemotingProxyConfigurer<T> |
metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler) |
T |
proxy()
Creates a new event driven proxy of type T
|
EventDrivenRemotingProxyConfigurer<T> |
remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect) |
EventDrivenRemotingProxyConfigurer<T> |
remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler) |
EventDrivenRemotingProxyConfigurer<T> |
timeout(long timeout) |
EventDrivenRemotingProxyConfigurer<T> |
voidOneWay(boolean voidOneWay) |
public EventDrivenRemotingProxyConfigurer<T> globalOneWay(boolean globalOneWay)
public EventDrivenRemotingProxyConfigurer<T> fifo(boolean fifo)
public EventDrivenRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler)
public EventDrivenRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect)
public EventDrivenRemotingProxyConfigurer<T> voidOneWay(boolean voidOneWay)
public EventDrivenRemotingProxyConfigurer<T> timeout(long timeout)
public EventDrivenRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler)
public T proxy()
Copyright © GigaSpaces.