|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rmi.PortableRemoteObject
org.objectweb.jonas_ejb.container.JHome
This class represents an EJBHome Remote Interface It is shared between Sessions and Entities.
Field Summary | |
protected JFactory |
bf
|
protected BeanDesc |
dd
|
protected JMetaData |
ejbMetaData
|
protected JHomeHandle |
homeHandle
|
protected boolean |
unregistered
|
Constructor Summary | |
JHome(BeanDesc dd,
JFactory bf)
Constructor for the base class of the specific generated Home object. |
Method Summary | |
javax.ejb.EJBMetaData |
getEJBMetaData()
Obtains the EJBMetaData for the enterprise Bean. |
javax.ejb.HomeHandle |
getHomeHandle()
Obtain a handle for the home object. |
protected void |
register()
register this bean to JNDI (rebind) |
abstract void |
remove(javax.ejb.Handle handle)
Removes an EJB object identified by its handle. |
abstract void |
remove(java.lang.Object primaryKey)
Removes an EJB object identified by its primary key. |
protected void |
unregister()
unregister this bean in JNDI (unbind) |
Methods inherited from class javax.rmi.PortableRemoteObject |
connect, exportObject, narrow, toStub, unexportObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JMetaData ejbMetaData
protected JHomeHandle homeHandle
protected BeanDesc dd
protected JFactory bf
protected boolean unregistered
Constructor Detail |
public JHome(BeanDesc dd, JFactory bf) throws java.rmi.RemoteException
dd
- The Been Deployment Descriptorbf
- The Bean FactoryMethod Detail |
public javax.ejb.EJBMetaData getEJBMetaData() throws java.rmi.RemoteException
getEJBMetaData
in interface javax.ejb.EJBHome
java.rmi.RemoteException
public javax.ejb.HomeHandle getHomeHandle() throws java.rmi.RemoteException
getHomeHandle
in interface javax.ejb.EJBHome
java.rmi.RemoteException
- - Thrown when the method failed due to a system-level
failure.public abstract void remove(javax.ejb.Handle handle) throws java.rmi.RemoteException, javax.ejb.RemoveException
remove
in interface javax.ejb.EJBHome
handle
- The EJB Handle
java.rmi.RemoteException
javax.ejb.RemoveException
public abstract void remove(java.lang.Object primaryKey) throws java.rmi.RemoteException, javax.ejb.RemoveException
remove
in interface javax.ejb.EJBHome
primaryKey
- The Primary Key
java.rmi.RemoteException
javax.ejb.RemoveException
protected void register() throws javax.naming.NamingException
javax.naming.NamingException
protected void unregister() throws javax.naming.NamingException
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |