[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
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
Obtain the remote home interface of the enterprise Bean. 获得企业Bean的远程home接口。
Obtain the Class object for the enterprise Bean's remote home interface. 获得企业Bean的远程home接口的Class对象。
Obtain the Class object for the enterprise Bean's primary key class. 获得企业Bean的主键类的Class对象。
Obtain the Class object for the enterprise Bean's remote interface. 获得企业Bean的远程接口的Class对象。
boolean
Test if the enterprise Bean's type is "session". 测试企业Bean的类型是否是“会话”。
boolean
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
Class
JavaTM 2 Platform
Ent. Ed. v1.4
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.