Package org.openspaces.remoting
Class EventDrivenRemotingProxyConfigurer<T>
java.lang.Object
org.openspaces.remoting.EventDrivenRemotingProxyConfigurer<T>
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
-
Constructor Summary
ConstructorsConstructorDescriptionEventDrivenRemotingProxyConfigurer(GigaSpace gigaSpace, Class<T> serviceInterface) -
Method Summary
Modifier and TypeMethodDescriptionfifo(boolean fifo) globalOneWay(boolean globalOneWay) metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler) proxy()Creates a new event driven proxy of type TremoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect) remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler) timeout(long timeout) voidOneWay(boolean voidOneWay)
-
Constructor Details
-
EventDrivenRemotingProxyConfigurer
-
-
Method Details
-
globalOneWay
-
fifo
-
metaArgumentsHandler
public EventDrivenRemotingProxyConfigurer<T> metaArgumentsHandler(MetaArgumentsHandler metaArgumentsHandler) -
remoteInvocationAspect
public EventDrivenRemotingProxyConfigurer<T> remoteInvocationAspect(RemoteInvocationAspect remoteInvocationAspect) - See Also:
-
EventDrivenSpaceRemotingProxyFactoryBean.remoteInvocationAspect
-
voidOneWay
-
timeout
-
remoteRoutingHandler
public EventDrivenRemotingProxyConfigurer<T> remoteRoutingHandler(RemoteRoutingHandler remoteRoutingHandler) -
proxy
Creates a new event driven proxy of type T
-