javax.ejb.EJBLocalHome翻訳



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


public interface
EJBLocalHome
The EJBLocalHome interface must be extended by all enterprise Beans' local home interfaces. An enterprise Bean's local home interface defines the methods that allow local clients 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 business methods). すべてのエンタープライズBeanのローカルホームインタフェースは、EJBLocalHomeインタフェースを継承する必要があります.エンタープライズBeanのローカルホームインタフェースでは、ローカルクライアントがEJBオブジェクトを作成、検索、削除できるようにするいくつかの方法が定義されており、ホームビジネスメソッドと同様にbeanインスタンスを指定する必要はありません(セッションbeanにはルックアップおよびホームビジネスメソッドはありません).
The local home interface is defined by the enterprise Bean provider and implemented by the enterprise Bean container. ローカルホームインタフェースは、エンタープライズBeanプロバイダによって定義され、エンタープライズBeanコンテナによって実現されます.
<!-- -->
Method Summaryvoid remove(ObjectprimaryKey) Remove an EJB object identified by its primary key. プライマリ・キーで識別されたEJBオブジェクトを削除します.
<!-- -->
Method Detail
<!-- -->

remove

public void remove(ObjectprimaryKey)
            throws RemoveException,
                   EJBException

Remove an EJB object identified by its primary key. プライマリ・キーで識別されたEJBオブジェクトを削除します.
This method can only be used by local clients of 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またはコンテナは、クライアントがオブジェクトを削除するときに放出することを許可しません.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.