Package org.bonitasoft.engine.api.impl
Annotation Type WithLock
-
@Target(METHOD) @Retention(RUNTIME) public @interface WithLockUsed to identify tenant-level API methods that require taking a functional lock when they are called. When the lock with this key is already taken by another call, the API method will fail immediately. Used by the Bonita Engine server interceptor.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringkeyA unique key to identify the lock (non-null)
-