Package org.openspaces.remoting
Annotation Interface EventDrivenRemotingMethod
An annotation used to configure method level behaviour for event driven remoting proxies, which
are eventually configured through
EventDrivenSpaceRemotingProxyFactoryBean.
Should be set on the method of the remote interface- Since:
- 8.0
- Author:
- uri
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSpecifies the fifo behaviour of this method.booleanSpecifies the globalOneWay behaviour of the annotated method.Specifies the name in the spring context of aMetaArgumentsHandlerto be used when invoking the annotated method.Specifies the class name of aMetaArgumentsHandlerto be used to be used when invoking the annotated method.Specifies the name in the spring context of aRemoteInvocationAspectto be used when invoking the annotated method.Specifies the class name of aRemoteInvocationAspectto be used to be used when invoking the annotated method.Specifies the name in the spring context of aRemoteRoutingHandlerto be used for determining the routing key for the invocation.Specifies the class name of aRemoteRoutingHandlerto be used for for determining the routing key for the invocation.longSets the timeout that will be used to wait for the response from the remote invocation of the annotated method.booleanSpecifies the voidOneWay behaviour of the annotated method.
-
Element Details
-
fifo
boolean fifoSpecifies the fifo behaviour of this method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean).- Default:
- false
-
globalOneWay
boolean globalOneWaySpecifies the globalOneWay behaviour of the annotated method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setGlobalOneWay(boolean).- Default:
- false
-
voidOneWay
boolean voidOneWaySpecifies the voidOneWay behaviour of the annotated method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setVoidOneWay(boolean).- Default:
- false
-
timeout
long timeoutSets the timeout that will be used to wait for the response from the remote invocation of the annotated method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)- Default:
- 60000L
-
remoteRoutingHandler
String remoteRoutingHandlerSpecifies the name in the spring context of aRemoteRoutingHandlerto be used for determining the routing key for the invocation. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(org.openspaces.remoting.RemoteRoutingHandler)- Default:
- ""
-
remoteRoutingHandlerType
Class remoteRoutingHandlerTypeSpecifies the class name of aRemoteRoutingHandlerto be used for for determining the routing key for the invocation. When using this attribute, each invocation of the annotated method will result in creating a new instance of the specified class. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(org.openspaces.remoting.RemoteRoutingHandler)- Default:
- java.lang.Object.class
-
remoteInvocationAspect
String remoteInvocationAspectSpecifies the name in the spring context of aRemoteInvocationAspectto be used when invoking the annotated method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(org.openspaces.remoting.RemoteInvocationAspect)- Default:
- ""
-
remoteInvocationAspectType
Class remoteInvocationAspectTypeSpecifies the class name of aRemoteInvocationAspectto be used to be used when invoking the annotated method. When using this attribute, each invocation of the annotated method will result in creating a new instance of the specified class. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(org.openspaces.remoting.RemoteInvocationAspect)- Default:
- java.lang.Object.class
-
metaArgumentsHandler
String metaArgumentsHandlerSpecifies the name in the spring context of aMetaArgumentsHandlerto be used when invoking the annotated method. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(org.openspaces.remoting.MetaArgumentsHandler)- Default:
- ""
-
metaArgumentsHandlerType
Class metaArgumentsHandlerTypeSpecifies the class name of aMetaArgumentsHandlerto be used to be used when invoking the annotated method. When using this attribute, each invocation of the annotated method will result in creating a new instance of the specified class. When the annotation is not set , will default toEventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(org.openspaces.remoting.MetaArgumentsHandler)- Default:
- java.lang.Object.class
-