javax.ejb
Interface EJBHome
- All Superinterfaces:
- java.rmi.Remote
- All Known Subinterfaces:
- AccountHome (src) , AccountHome (src) , AddressHome (src) , AggregateProfileServiceHome (src) , AllTypesHome (src) , AllTypesHome (src) , AuditSessionHome (src) , AutoNumberHome (src) , BadHome (src) , BankHome (src) , BankHome (src) , BmpCallbackHome (src) , BMPHelperSessionHome (src) , BMTStatefulHome (src) , BMTStatelessHome (src) , BusinessObjectHome (src) , CalledHome (src) , CalledSessionHome (src) , CalleeHome (src) , CallerIdentityHome (src) , CallerSessionHome (src) , CheckBookMgrHome (src) , ClusteredHTTPSessionHome (src) , CMPFindTestEntityHome (src) , CMPFindTestSessionHome (src) , ComplexEntityHome (src) , CtsBmpHome (src) , CtsCmp2SessionHome (src) , CtsCmpHome (src) , CustomerHome (src) , CustomerHome (src) , CustomerHome (src) , CustomPrincipalHome (src) , EJBLoadHome (src) , EJBTestRunnerHome (src) , EJBThreadsHome (src) , EnterpriseEntityHome (src) , EnterpriseEntityHome (src) , EnterpriseEntityHome (src) , Entity2Home (src) , EntityBMPHome (src) , EntityExceptionTesterHome (src) , EntityExcHome (src) , EntityHome (src) , EntityHome (src) , EntityHome (src) , EntityPKHome (src) , EntitySessionHome (src) , ExceptionTesterHome (src) , ExceptionThrowerHome (src) , FacadeHome (src) , FacadeHome (src) , HelloHome (src) , HelloHome (src) , HelloHome (src) , HelloHome (src) , HelloHome (src) , HelloHome (src) , HelloLogHome (src) , IdCounterHome (src) , IdGeneratorHome (src) , IOSessionHome (src) , IOSessionHome (src) , JMSSessionHome (src) , LOBHome (src) , ManagementHome (src) , MySessionHome (src) , OrganizationClientHome (src) , OrganizationHome (src) , PerfTestSessionHome (src) , PreparedStatementHome (src) , ProbeHome (src) , ProfileServiceHome (src) , ProjRepositoryAdminHome (src) , ProjRepositoryHome (src) , PublisherCMPHome (src) , PublisherHome (src) , QueueRecHome (src) , RecordHome (src) , RetrySessionHome (src) , SecurityContextHome (src) , SessionAHome (src) , SessionAHome (src) , SessionBHome (src) , SessionBHome (src) , SessionHome (src) , SessionHome (src) , SessionToEntityHome (src) , SimpleBMPHome (src) , SimpleBMPHome (src) , SimpleEntityHome (src) , StatefulSessionHome (src) , StatefulSessionHome (src) , StatefulSessionHome (src) , StatefulSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StatelessSessionHome (src) , StrictlyPooledSessionHome (src) , SubjectSessionHome (src) , TellerHome (src) , TellerHome (src) , TestDataSourceHome (src) , TestEjbLinkHome (src) , TestENCHome (src) , TestENCHome2 (src) , TestSessionHome (src) , TestSessionRemoteHome (src) , TimerEntityHome (src) , TimerSFSBHome (src) , TimerSLSBHome (src) , TreeFacadeHome (src) , TxSessionHome (src) , TxSessionHome (src) , TxTimeoutHome (src) , UnshareableConnectionSessionHome (src) , UserHome (src) , XATestHome (src)
- public interface EJBHome
- extends java.rmi.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).
The remote home interface is defined by the enterprise Bean provider and implemented by the
enterprise Bean container.
remove
public void remove(Handle (src) handle)
throws java.rmi.RemoteException,
RemoveException (src)
- Remove an EJB object identified by its handle.
- Throws:
java.rmi.RemoteException - - Thrown when the method failed due to a system-level failure.
RemoveException (src) - - Thrown if the enterprise Bean or the container does not allow
the client to remove the object.
remove
public void remove(java.lang.Object primaryKey)
throws java.rmi.RemoteException,
RemoveException (src)
Remove an EJB object identified by its primary key.
This method can be used only for an entity bean. An attempt to call this method on
a session bean will result in a RemoteException.
- Throws:
java.rmi.RemoteException - - Thrown when the method failed due to a system-level failure.
RemoveException (src) - - Thrown if the enterprise Bean or the container does not allow
the client to remove the object.
getEJBMetaData
public EJBMetaData (src) getEJBMetaData()
throws java.rmi.RemoteException
Obtain the EJBMetaData interface for the enterprise Bean. The EJBMetaData interface allows
the client to obtain information about the enterprise Bean.
The information obtainable via the EJBMetaData interface is intended to be used by tools.
- Returns:
- The enterprise Bean's EJBMetaData interface.
- Throws:
java.rmi.RemoteException - - Thrown when the method failed due to a system-level failure.
getHomeHandle
public HomeHandle (src) getHomeHandle()
throws java.rmi.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.
- Returns:
- A handle for the remote home object.
- Throws:
java.rmi.RemoteException - - Thrown when the method failed due to a system-level failure.