站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

TransactionAttribute (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

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.


Optional Element Summary
 TransactionAttributeType value
           
 

value

public abstract TransactionAttributeType value
Default:
REQUIRED

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.