|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.ejb Annotation Type MessageDriven
Implements:
Annotation
@Target(value=TYPE)@Retention(value=RUNTIME)
消息驱动 Bean 的组件定义注释。
Component-defining annotation for a message driven bean.
Optional Element Summary | |
---|---|
ActivationConfigProperty[] |
activationConfig
Activation config properties. |
String |
description
|
String |
mappedName
A product specific name(e.g. global JNDI name of a queue) that this message-driven bean should be mapped to. |
Class |
messageListenerInterface
Message-listener interface. |
String |
name
ejb-name for this bean. |
abstract public String
name()
此 Bean 的 ejb-name。
英文文档:
name
public abstract String name
- ejb-name for this bean.
- Default:
- ""
abstract public Class<T>
messageListenerInterface()
消息侦听器接口。
英文文档:
messageListenerInterface
public abstract Class messageListenerInterface
- Message-listener interface.
- Default:
- java.lang.Object.class
abstract public ActivationConfigProperty[]
activationConfig()
激活 config 属性。
英文文档:
activationConfig
public abstract ActivationConfigProperty[] activationConfig
- Activation config properties.
- Default:
- {}
abstract public String
mappedName()
此消息驱动 Bean 应该映射到的特定产品名称(例如队列的全局 JNDI 名称)。
应用服务器不需要支持任何特殊形式或类型的映射名称,也不需要具有使用映射名称的能力。映射的名称与产品有关,并且通常与安装有关。任何对映射名称的使用都不可移植。
英文文档:
mappedName
public abstract String mappedName
- A product specific name(e.g. global JNDI name of a queue)
that this message-driven bean should be mapped to.
Application servers are not required to support any particular
form or type of mapped name, nor the ability to use mapped names.
The mapped name is product-dependent and often installation-dependent.
No use of a mapped name is portable.
- Default:
- ""
abstract public String
description()
英文文档:
description
public abstract String description
- 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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!