Init (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.ejb Annotation Type Init


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Init

Designates a method of a session bean that corresponds to the create method of an adapted Home interface or an adapted Local Home interface.


Optional Element Summary
 String value
          The name of the corresponding create method of the adapted Home/LocalHome interface.
 

value

public abstract String value
The name of the corresponding create method of the adapted Home/LocalHome interface. This value is used to disambiguate the case where there are multiple create methods on an adapted Home/LocalHome interface with the same signature as the annotated @Init method. If no value is specified, the create matching is based on signature only.

默认值:
""

Java EE 5 SDK

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


提交错误或意见

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