@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface LimitedConcurrency
This annotation must be used within an interface, as opposed to a class definition, in order for it to take effect. In other words, when you write your remote POJO, this annotation must be used in the remote POJO's interface - not its implementation class.
Unlike other comm annotations, there is no Command configuration property that is analogous to this annotation. In other words, you can only limit the concurrency of remote POJO invocations; you cannot limit the concurrency of raw Commands sent to the server. This makes sense because we want to enforce the rules on the server-side and not rely on clients to turn on concurrency controls (if we did, that would allow rogue clients to be able to circumvent the concurrency controls).
public abstract String value
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.