javax.ejb.EJBMetaData翻译

王朝java/jsp·作者佚名  2006-01-10
窄屏简体版  字體: |||超大  

[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

javax.ejb

Interface EJBMetaDatapublic interface EJBMetaDataThe 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值类型。

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的类型是否是“无状态会话”。

Method Detail

getEJBHomepublic EJBHome getEJBHome()

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

Returns: the remote home interface of the enterprise Bean. 企业Bean的远程home接口。getHomeInterfaceClasspublic Class 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对象。getRemoteInterfaceClasspublic 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对象。getPrimaryKeyClasspublic 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对象。isSessionpublic boolean 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。isStatelessSessionpublic boolean 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。[/url][url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航