de.fzj.unicore.wsrflite.persistence
Annotation Type ConcurrentAccess


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ConcurrentAccess

Annotation that controls concurrent access to WS Resources on a web method level.
Thus, read-only methods like GetResourceProperty() can be executed concurrently, while for others such as SetResourceProperty() the WS Resource will be locked. This annotation is evaluated in PersistenceSettings.getConcurrentMethodNames(). It is evaluated for base classes first, thus subclasses can override the behaviour specified by the base class.

Since:
1.8.8
Author:
schuller
See Also:
PersistenceSettings, WSRFInvoker.getServiceObject(org.codehaus.xfire.MessageContext)

Optional Element Summary
 boolean allow
          this flag controls whether concurrent access is allowed.
 

allow

public abstract boolean allow
this flag controls whether concurrent access is allowed. It defaults to true

Default:
true


Copyright © 2010. All Rights Reserved.