当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v5.0 API Specifications
TransactionAttribute (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications
javax.ejb
Annotation Type TransactionAttribute
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface TransactionAttribute
When applied at the TYPE-level, designates the default transaction attribute
for all business methods of the session or message driven bean. When
applied at the method-level, designates the transaction attribute for only
that method.
value
public abstract TransactionAttributeType value
- Default:
- REQUIRED
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.