You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/10/29 03:25:56 UTC
svn commit: r1190729 -
/openejb/trunk/openejb/examples/access-timeout/README.md
Author: dblevins
Date: Sat Oct 29 01:25:56 2011
New Revision: 1190729
URL: http://svn.apache.org/viewvc?rev=1190729&view=rev
Log:
formatting
Modified:
openejb/trunk/openejb/examples/access-timeout/README.md
Modified: openejb/trunk/openejb/examples/access-timeout/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/access-timeout/README.md?rev=1190729&r1=1190728&r2=1190729&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/access-timeout/README.md (original)
+++ openejb/trunk/openejb/examples/access-timeout/README.md Sat Oct 29 01:25:56 2011
@@ -6,8 +6,6 @@ In a general sense this annotation porta
- `@Stateful` - any method of the instance is being invoked and a second invocation occurs. OR the @Stateful bean is in a transaction and the caller is invoking it from outside that transaction.
- `@Stateless` - no instances are available in the pool. As noted, however, pooling sematics, if any, are not covered by the spec. If the vendor's pooling semantics do involve a wait condition, the @AccessTimeout should apply.
-# Usage
-
The `@AccessTimeout` is simply a convenience wrapper around the `long` and `TimeUnit` tuples commonly used in the `java.util.concurrent` API.
import java.util.concurrent.TimeUnit;