Package io.bdeploy.jersey
Annotation Interface JerseyWriteLockService.LockingResource
- Enclosing class:
- JerseyWriteLockService
@Documented
@Retention(RUNTIME)
@Target(TYPE)
public static @interface JerseyWriteLockService.LockingResource
Marks a resource as 'locking'. This means that every method on the resource will by default read-lock a lock specific to
that resource.
ATTENTION: This annotation must be placed on the resource implementation!
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe name of the lock. If not given, uses the path of the resource.- Default:
- ""
-