javax.ejb
Annotation Type AccessTimeout


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

Specifies the amount of time in a given time unit that a concurrent access attempt on a Singleton session bean should block before timing out.


Required Element Summary
 long value
           
 
Optional Element Summary
 java.util.concurrent.TimeUnit unit
           
 

Element Detail

value

public abstract long value

unit

public abstract java.util.concurrent.TimeUnit unit
Default:
java.util.concurrent.TimeUnit.MILLISECONDS