javax.ejb.EJBHome翻訳

10929 ワード


<!-- -->
<!-- -->
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 EJBHome


All Superinterfaces:
Remote
All Known Subinterfaces:
ManagementHome
public interface
EJBHome
extends
Remote
The EJBHome interface must be extended by all enterprise Beans' remote home interfaces. An enterprise Bean's remote home interface defines the methods that allow a remote client to create, find, and remove EJB objects, as well as home business methods that are not specific to a bean instance (Session Beans do not have finders and home methods). すべてのエンタープライズBeanのリモートホームインタフェースは、EJBHomeインタフェースを継承する必要があります.エンタープライズBeanのリモートホームインタフェースでは、リモートクライアントがEJBオブジェクトを作成、検索、削除できるようにするいくつかの方法が定義されており、ホームビジネスメソッドと同様にbeanインスタンスを指定する必要はありません(セッションbeanにはルックアップおよびホームメソッドはありません).
The remote home interface is defined by the enterprise Bean provider and implemented by the enterprise Bean container. リモートホームインタフェースは、エンタープライズBeanプロバイダによって定義され、エンタープライズBeanコンテナによって実現されます.
<!-- -->
Method SummaryEJBMetaData getEJBMetaData() Obtain the EJBMetaData interface for the enterprise Bean. エンタープライズBeanのEJBMetaDataインタフェースを取得します.HomeHandle getHomeHandle() Obtain a handle for the remote home object. リモートホームオブジェクトのハンドルを取得します.void remove(Handlehandle) Remove an EJB object identified by its handle. ハンドルによって識別されるEJBオブジェクトを削除します.void remove(ObjectprimaryKey) Remove an EJB object identified by its primary key. プライマリ・キーで識別されたEJBオブジェクトを削除します.
<!-- -->
Method Detail
<!-- -->

remove

public void remove(Handlehandle)
            throws RemoteException,
                   RemoveException

Remove an EJB object identified by its handle. ハンドルによって識別されるEJBオブジェクトを削除します.
Throws: RemoveException - Thrown if the enterprise Bean or the container does not allow the client to remove the object. エンタープライズBeanまたはコンテナは、クライアントがオブジェクトを削除するときに放出することを許可しません.RemoteException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.
<!-- -->

remove

public void remove(ObjectprimaryKey)
            throws RemoteException,
                   RemoveException

Remove an EJB object identified by its primary key. プライマリ・キーで識別されたEJBオブジェクトを削除します.
This method can be used only for an entity bean. An attempt to call this method on a session bean will result in a RemoveException. このメソッドは、エンティティbeanのローカルクライアントのみが呼び出すことができます.セッションbeanがメソッドを呼び出そうとすると、RemoteExceptionが発生します.
Throws: RemoveException - Thrown if the enterprise Bean or the container does not allow the client to remove the object. エンタープライズBeanまたはコンテナは、クライアントがオブジェクトを削除するときに放出することを許可しません.RemoteException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.
<!-- -->

getEJBMetaData

public EJBMetaData getEJBMetaData()
                           throws RemoteException

Obtain the EJBMetaData interface for the enterprise Bean. The EJBMetaData interface allows the client to obtain information about the enterprise Bean. エンタープライズBeanのEJBMetaDataインタフェースを取得します.EJBMetaDataインタフェースでは、クライアントがエンタープライズBeanに関する情報を取得できます.
The information obtainable via the EJBMetaData interface is intended to be used by tools. EJBMetaDataインタフェースから得られる情報は、一般にツールによって使用される.
Returns:
The enterprise Bean's EJBMetaData interface. エンタープライズBeanのEJBMetaDataインタフェース.
Throws: RemoteException - Thrown when the method failed due to a system-level failure. メソッドは、システムレベルのエラーによる失敗を表す異常を放出します.
<!-- -->

getHomeHandle

public HomeHandle getHomeHandle()
                         throws RemoteException

Obtain a handle for the remote home object. The handle can be used at later time to re-obtain a reference to the remote home object, possibly in a different Java Virtual Machine. リモートホームオブジェクトのハンドルを取得します.ハンドルは、その後、異なるJava仮想マシンでリモートホームオブジェクトの参照を再取得するために使用できます.
Returns:
A handle for the remote home object. リモートホームオブジェクトのハンドル.
Throws: RemoteException - 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.