javax.ejb.EJBLocalObject翻訳

9256 ワード


<!-- -->
<!-- -->
Overview
Package
Class
Tree
Deprecated
Index
Help
JavaTM 2 PlatformEnt. Ed. v1.4
PREV CLASS NEXT CLASS
FRAMES NO FRAMES All Classes
SUMMARY:NESTED|FIELD|CONSTR| METHOD
DETAIL:FIELD|CONSTR| METHOD


javax.ejb Interface EJBLocalObject


public interface
EJBLocalObject
The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces. An enterprise Bean's local interface provides the local client view of an EJB object. An enterprise Bean's local interface defines the business methods callable by local clients. すべてのエンタープライズBeanのローカルインタフェースは、EJBLocalObjectインタフェースを継承します.エンタープライズBeanのローカルインタフェースは、EJBオブジェクトのローカルクライアントビューを提供します.エンタープライズBeanのローカルインタフェースは、ローカルクライアントが呼び出すことができるビジネスメソッドを定義します.
The enterprise Bean's local interface is defined by the enterprise Bean provider and implemented by the enterprise Bean container. エンタープライズBeanのローカルインタフェースは、エンタープライズBeanプロバイダによって定義され、エンタープライズBeanコンテナによって実現されます.
<!-- -->
Method SummaryEJBLocalHome getEJBLocalHome() Obtain the enterprise Bean's local home interface. エンタープライズBeanのローカルホームインタフェースを取得します.Object getPrimaryKey() Obtain the primary key of the EJB local object. EJBローカルオブジェクトのプライマリ・キーを取得します.boolean isIdentical(EJBLocalObjectobj) Test if a given EJB local object is identical to the invoked EJB local object. 指定したEJBローカルオブジェクトが呼び出されたEJBローカルオブジェクトと同じオブジェクトであるかどうかをテストします.void remove() Remove the EJB local object. EJBローカルオブジェクトを削除します.
<!-- -->
Method Detail
<!-- -->

getEJBLocalHome

public EJBLocalHome getEJBLocalHome()
                             throws EJBException

Obtain the enterprise Bean's local home interface. The local home interface defines the enterprise Bean's create, finder, remove, and home business methods that are available to local clients. エンタープライズBeanのローカルホームインタフェースを取得します.ローカルホームインタフェースは、ローカルクライアントで使用可能なエンタープライズBeanのcreate、finder、remove、ホームビジネスメソッドを定義します.
Returns:
A reference to the enterprise Bean's local home interface. エンタープライズBeanのローカルホームインタフェースリファレンス.
Throws: EJBException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.
<!-- -->

getPrimaryKey

public Object getPrimaryKey()
                     throws EJBException

Obtain the primary key of the EJB local object. EJBローカルオブジェクトのプライマリ・キーを取得します.
This method can be called on an entity bean. An attempt to invoke this method on a session Bean will result in an EJBException. エンティティbeanは、このメソッドを呼び出すことができます.セッションbeanがメソッドを呼び出そうとすると、RemoteExceptionが発生します.
Returns:
The EJB local object's primary key. EJBオブジェクトのプライマリ・キー.
Throws: EJBException - Thrown when the method failed due to a system-level failure or when invoked on a session bean. メソッドは、システムレベルのエラーまたはセッションbean呼び出しによる失敗を表す例外を放出する.
<!-- -->

remove

public void remove()
            throws RemoveException,
                   EJBException

Remove the EJB local object. EJBオブジェクトを削除します.
Throws: RemoveException - The enterprise Bean or the container does not allow destruction of the object. エンタープライズBeanまたはコンテナでは、オブジェクトを消去するときに放出できません.EJBException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.
<!-- -->

isIdentical

public boolean isIdentical(EJBLocalObjectobj)
                    throws EJBException

Test if a given EJB local object is identical to the invoked EJB local object. 指定したEJBローカルオブジェクトが呼び出されたEJBローカルオブジェクトと同じオブジェクトであるかどうかをテストします.
Parameters: obj - An object to test for identity with the invoked object. 呼び出しオブジェクトと同じオブジェクトかどうかを比較します.
Returns:
True if the given EJB local object is identical to the invoked object, false otherwise. 指定したEJBローカルオブジェクトと呼び出しオブジェクトが同じ場合はtrueを返します.そうでない場合はfalseです.
Throws: EJBException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.


<!-- -->
<!-- -->
Overview
Package
Class
Tree
Deprecated
Index
Help
JavaTM 2 PlatformEnt. 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.