javax.ejb.EJBMetaData翻译

<!-- ========= START OF TOP NAVBAR ======= --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== -->

javax.ejb
Interface EJBMetaData

public interface EJBMetaData

The EJBMetaData interface allows a client to obtain the enterprise Bean's meta-data information. EJBMetaData接口客户端获取企业Bean的元数据信息。

The meta-data is intended for development tools used for building applications that use deployed enterprise Beans, and for clients using a scripting language to access the enterprise Bean. 设计元数据是为了让开发工具创建部属企业Bean的应用程序,让客户端使用脚本语言访问企业Bean。

Note that the EJBMetaData is not a remote interface. The class that implements this interface (this class is typically generated by container tools) must be serializable, and must be a valid RMI/IDL value type. 注意EJBMetaData不是一个远程接口。实现该接口的类(该类一般由容器工具生成) 必须可序列化,且必须是一个有效的RMI/IDL值类型。

<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><!-- -->

Method Summary
EJBHome getEJBHome()
Obtain the remote home interface of the enterprise Bean. 获得企业Bean的远程home接口。
Class getHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's remote home interface. 获得企业Bean的远程home接口的Class对象。
Class getPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class. 获得企业Bean的主键类的Class对象。
Class getRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface. 获得企业Bean的远程接口的Class对象。
boolean isSession()
Test if the enterprise Bean's type is "session". 测试企业Bean的类型是否是“会话”。
boolean isStatelessSession()
Test if the enterprise Bean's type is "stateless session". 测试企业Bean的类型是否是“无状态会话”。

<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- -->

Method Detail
<!-- -->

getEJBHome

Obtain the remote home interface of the enterprise Bean. 获得企业Bean的远程home接口。

Returns:
the remote home interface of the enterprise Bean. 企业Bean的远程home接口。
<!-- -->

getHomeInterfaceClass

Obtain the Class object for the enterprise Bean's remote home interface. 获得企业Bean的远程home接口的Class对象。

Returns:
the Class object for the enterprise Bean's remote home interface. 企业Bean的远程home接口的Class对象。
<!-- -->

getRemoteInterfaceClass

Obtain the Class object for the enterprise Bean's remote interface. 获得企业Bean的远程接口的Class对象。

Returns:
the Class object for the enterprise Bean's remote interface. 企业Bean的远程接口的Class对象。
<!-- -->

getPrimaryKeyClass

Obtain the Class object for the enterprise Bean's primary key class. 获得企业Bean的主键类的Class对象。

Returns:
the Class object for the enterprise Bean's primary key class. 企业Bean的主键类的Class对象。
<!-- -->

isSession

 
Test if the enterprise Bean's type is "session". 测试企业Bean的类型是否是“会话”。

Returns:
True if the type of the enterprise Bean is session bean. 如果企业Bean的类型是会话bean,返回true。
<!-- -->

isStatelessSession

 
Test if the enterprise Bean's type is "stateless session". 测试企业Bean的类型是否是“无状态会话”。

Returns:
True if the type of the enterprise Bean is stateless session. 如果企业Bean的类型是无状态会话bean,返回true。
<!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ======== END OF BOTTOM NAVBAR ======= --> Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值