javax.ejb
Annotation Type Lock


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface Lock

Declares a concurrency lock for a bean method.


Optional Element Summary
 LockType value
           
 

value

public abstract LockType value
Default:
javax.ejb.LockType.WRITE