<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD |
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。
<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.