|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.ejb Annotation Type Init
Implements:
Annotation
@Target(value=METHOD)@Retention(value=RUNTIME)
指定会话 Bean 与适配的 Home 接口或适配的 Local Home 接口的 create
Designates a method of a session bean that corresponds to the
create
Optional Element Summary | |
---|---|
String |
value
The name of the corresponding create |
abstract public String
value()
适配的 Home/LocalHome 接口对应的 create 方法的名称。此值用于确定一个适配的 Home/LocalHome 接口上有多个与注释的 @Init 方法有相同签名的 create 方法的情况。如果没有指定值,则仅根据签名匹配 create 。
英文文档:
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. - Default:
- ""
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!