javax.ejb.EJBMetaData翻译

来源:互联网 发布:数控g32螺纹编程实例 编辑:程序博客网 时间:2024/04/30 05:54
 Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: 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值类型。


Method Summary EJBHomegetEJBHome()
          Obtain the remote home interface of the enterprise Bean. 获得企业Bean的远程home接口。
 ClassgetHomeInterfaceClass()
          Obtain the Class object for the enterprise Bean's remote home interface. 获得企业Bean的远程home接口的Class对象。
 ClassgetPrimaryKeyClass()
          Obtain the Class object for the enterprise Bean's primary key class. 获得企业Bean的主键类的Class对象。
 ClassgetRemoteInterfaceClass()
          Obtain the Class object for the enterprise Bean's remote interface. 获得企业Bean的远程接口的Class对象。
 booleanisSession()
          Test if the enterprise Bean's type is "session". 测试企业Bean的类型是否是“会话”。
 booleanisStatelessSession()
          Test if the enterprise Bean's type is "stateless session". 测试企业Bean的类型是否是“无状态会话”。
 

Method Detail

getEJBHome

public EJBHome getEJBHome()
Obtain the remote home interface of the enterprise Bean. 获得企业Bean的远程home接口。

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

getHomeInterfaceClass

public 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对象。

getRemoteInterfaceClass

public 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

public 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

public 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。

isStatelessSession

public 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。

Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.