DRAFT

javax.ejb
Annotation Type StatefulTimeout


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface StatefulTimeout

Specifies the amount of time a stateful session bean can be idle ( not receive any client invocations ) before it is eligible for removal by the container.


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.MINUTES

DRAFT

Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.