TransactionAttribute (Java EE 5 SDK)

Java

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
默认值:
REQUIRED

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.