@Target(value=METHOD) @Retention(value=RUNTIME) public @interface ExecutorRemotingMethod
ExecutorSpaceRemotingProxyFactoryBean
. Should be set on the
method of the remote interfaceExecutorSpaceRemotingProxyFactoryBean
,
RemotingAnnotationBeanPostProcessor
Modifier and Type | Required Element and Description |
---|---|
boolean |
broadcast
Determines Whether or not to broadcast the specific method call to all cluster members.
|
Modifier and Type | Optional Element and Description |
---|---|
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 |
remoteResultReducer
When broadcast is set to true, specifies the name in the spring context of a
RemoteResultReducer to be used for reducing the result of the invocation. |
Class |
remoteResultReducerType
When broadcast is set to true, specifies the class name of a
RemoteResultReducer to
be used for reducing the result of the invocation. |
String |
remoteRoutingHandler
When broadcast is set to false, specifies the name in the spring context of a
RemoteRoutingHandler to be used for determining the routing key for the invocation. |
Class |
remoteRoutingHandlerType
When broadcast is set to false, specifies the class name of a
RemoteRoutingHandler to
be used for for determining the routing key for the invocation. |
public abstract boolean broadcast
ExecutorSpaceRemotingProxyFactoryBean.setRemoteResultReducer(RemoteResultReducer)
When the
annotation is not set, will default to ExecutorSpaceRemotingProxyFactoryBean.setBroadcast(boolean)
public abstract String remoteResultReducer
RemoteResultReducer
to be used for reducing the result of the invocation. When the
annotation is not set, will default to ExecutorSpaceRemotingProxyFactoryBean.setRemoteResultReducer(RemoteResultReducer)
public abstract Class remoteResultReducerType
RemoteResultReducer
to
be used for reducing the result of 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 ExecutorSpaceRemotingProxyFactoryBean.setRemoteResultReducer(RemoteResultReducer)
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 ExecutorSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(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 ExecutorSpaceRemotingProxyFactoryBean.setRemoteRoutingHandler(RemoteRoutingHandler)
public abstract String remoteInvocationAspect
RemoteInvocationAspect
to be used when
invoking the annotated method. When the annotation is not set, will default to ExecutorSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(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 ExecutorSpaceRemotingProxyFactoryBean.setRemoteInvocationAspect(RemoteInvocationAspect)
public abstract String metaArgumentsHandler
MetaArgumentsHandler
to be used when
invoking the annotated method. When the annotation is not set, will default to ExecutorSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(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 ExecutorSpaceRemotingProxyFactoryBean.setMetaArgumentsHandler(MetaArgumentsHandler)
Copyright © GigaSpaces.