@Target(value=METHOD) @Retention(value=RUNTIME) public @interface EventDrivenRemotingMethod
EventDrivenSpaceRemotingProxyFactoryBean
.
Should be set on the method of the remote interfaceEventDrivenSpaceRemotingProxyFactoryBean
,
RemotingAnnotationBeanPostProcessor
Modifier and Type | Optional Element and Description |
---|---|
boolean |
fifo
Specifies the fifo behaviour of this method.
|
boolean |
globalOneWay
Specifies the globalOneWay behaviour of the annotated method.
|
String |
metaArgumentsHandler
Specifies the name in the spring context of a
MetaArgumentsHandler
to be used when invoking the annotated method. |
Class |
metaArgumentsHandlerType
Specifies the class name of a
MetaArgumentsHandler to be used
to be used when invoking the annotated method. |
String |
remoteInvocationAspect
Specifies the name in the spring context of a
RemoteInvocationAspect
to be used when invoking the annotated method. |
Class |
remoteInvocationAspectType
Specifies the class name of a
RemoteInvocationAspect to be
used to be used when invoking the annotated method. |
String |
remoteRoutingHandler
Specifies the name in the spring context of a
RemoteRoutingHandler
to be used for determining the routing key for the invocation. |
Class |
remoteRoutingHandlerType
Specifies the class name of a
RemoteRoutingHandler to be used
for for determining the routing key for the invocation. |
long |
timeout
Sets the timeout that will be used to wait for the response from the remote invocation of the
annotated method.
|
boolean |
voidOneWay
Specifies the voidOneWay behaviour of the annotated method.
|
public abstract boolean fifo
EventDrivenSpaceRemotingProxyFactoryBean.setFifo(boolean)
.public abstract boolean globalOneWay
EventDrivenSpaceRemotingProxyFactoryBean.setGlobalOneWay(boolean)
.public abstract boolean voidOneWay
EventDrivenSpaceRemotingProxyFactoryBean.setVoidOneWay(boolean)
.public abstract long timeout
EventDrivenSpaceRemotingProxyFactoryBean.setTimeout(long)
public abstract String remoteRoutingHandler
RemoteRoutingHandler
to be used for determining the routing key for the invocation. When the annotation is not set
, will default to EventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(org.openspaces.remoting.RemoteRoutingHandler)
public abstract Class remoteRoutingHandlerType
RemoteRoutingHandler
to 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 to EventDrivenSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(org.openspaces.remoting.RemoteRoutingHandler)
public abstract String remoteInvocationAspect
RemoteInvocationAspect
to be used when invoking the annotated method. When the annotation is not set , will default
to EventDrivenSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(org.openspaces.remoting.RemoteInvocationAspect)
public abstract Class remoteInvocationAspectType
RemoteInvocationAspect
to 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 to EventDrivenSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(org.openspaces.remoting.RemoteInvocationAspect)
public abstract String metaArgumentsHandler
MetaArgumentsHandler
to be used when invoking the annotated method. When the annotation is not set , will default
to EventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(org.openspaces.remoting.MetaArgumentsHandler)
public abstract Class metaArgumentsHandlerType
MetaArgumentsHandler
to 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 to EventDrivenSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(org.openspaces.remoting.MetaArgumentsHandler)
Copyright © GigaSpaces.