|
||||||||||
| 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 boolean |
unregistered
|
| Constructor Summary | |
JHome(BeanDesc dd,
JFactory bf)
Constructor for the base class of the specific generated Home object. |
|
| Method Summary | |
void |
checkSecurity(EJBInvocation ejbInv)
Check if the access to the bean is authorized |
JFactory |
getBf()
|
BeanDesc |
getDd()
|
javax.ejb.EJBMetaData |
getEJBMetaData()
Obtains the EJBMetaData for the enterprise Bean. |
javax.ejb.HomeHandle |
getHomeHandle()
Obtain a handle for the home object. |
java.lang.String |
getJndiName()
Get the jndi name for the bean |
void |
postInvoke(RequestCtx rctx)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
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 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 Factory
java.rmi.RemoteException - exception| Method Detail |
public javax.ejb.EJBMetaData getEJBMetaData()
throws java.rmi.RemoteException
getEJBMetaData in interface javax.ejb.EJBHomejava.rmi.RemoteException - exception
public javax.ejb.HomeHandle getHomeHandle()
throws java.rmi.RemoteException
getHomeHandle in interface javax.ejb.EJBHomejava.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.EJBHomehandle - The EJB Handle
java.rmi.RemoteException - exception
javax.ejb.RemoveException - exception
public abstract void remove(java.lang.Object primaryKey)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
remove in interface javax.ejb.EJBHomeprimaryKey - The Primary Key
java.rmi.RemoteException - exception
javax.ejb.RemoveException - exception
protected void register()
throws javax.naming.NamingException
javax.naming.NamingException - exception
protected void unregister()
throws javax.naming.NamingException
javax.naming.NamingException - exceptionpublic java.lang.String getJndiName()
java.rmi.RemoteException
public RequestCtx preInvoke(int txa)
throws java.rmi.RemoteException
txa - Transaction Attribute (Supports, Required, ...)
java.rmi.RemoteException - unexpected exception in preinvokepublic void checkSecurity(EJBInvocation ejbInv)
ejbInv - object containing security signature of the method, args of
method, etc
public void postInvoke(RequestCtx rctx)
throws java.rmi.RemoteException
rctx - The RequestCtx that was returned at preInvoke()
java.rmi.RemoteException - unexpected exception in postinvokepublic BeanDesc getDd()
public JFactory getBf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||