| java.lang.Object javax.rmi.PortableRemoteObject org.objectweb.jonas_ejb.container.JHome
All known Subclasses: org.objectweb.jonas_ejb.container.JSessionHome, org.objectweb.jonas_ejb.container.JEntityHome,
JHome | abstract public class JHome extends PortableRemoteObject implements EJBHome(Code) | | This class represents an EJBHome Remote Interface
It is shared between Sessions and Entities.
author: Philippe Coq, Philippe Durieux |
Constructor Summary | |
public | JHome(BeanDesc dd, JFactory bf) Constructor for the base class of the specific generated Home object. |
unregistered | protected boolean unregistered(Code) | | |
checkSecurity | public void checkSecurity(EJBInvocation ejbInv)(Code) | | Check if the access to the bean is authorized
Parameters: ejbInv - object containing security signature of the method, args ofmethod, etc |
getEJBMetaData | public EJBMetaData getEJBMetaData() throws RemoteException(Code) | | Obtains the EJBMetaData for the enterprise Bean.
The enterprise Bean's EJBMetaData throws: RemoteException - exception |
getHomeHandle | public HomeHandle getHomeHandle() throws java.rmi.RemoteException(Code) | | Obtain a handle for the home object. The handle can be used at later time to re-obtain a
reference to the home object, possibly in a different Java Virtual Machine.
A handle for the home object. exception: java.rmi.RemoteException - - Thrown when the method failed due to a system-levelfailure. |
postInvoke | public void postInvoke(RequestCtx rctx) throws RemoteException(Code) | | postInvoke is called after any request.
Parameters: rctx - The RequestCtx that was returned at preInvoke() throws: RemoteException - unexpected exception in postinvoke |
preInvoke | public RequestCtx preInvoke(int txa) throws RemoteException(Code) | | preInvoke is called before any request.
Parameters: txa - Transaction Attribute (Supports, Required, ...) A RequestCtx object throws: RemoteException - unexpected exception in preinvoke |
remove | abstract public void remove(Handle handle) throws RemoteException, RemoveException(Code) | | Removes an EJB object identified by its handle.
Parameters: handle - The EJB Handle throws: RemoteException - exception throws: RemoveException - exception |
remove | abstract public void remove(Object primaryKey) throws RemoteException, RemoveException(Code) | | Removes an EJB object identified by its primary key.
Parameters: primaryKey - The Primary Key throws: RemoteException - exception throws: RemoveException - exception |
|
|