| java.lang.Object org.objectweb.jonas_ejb.container.JLocalHome
All known Subclasses: org.objectweb.jonas_ejb.container.JEntityLocalHome, org.objectweb.jonas_ejb.container.JSessionLocalHome,
JLocalHome | abstract public class JLocalHome implements EJBLocalHome(Code) | | This class represents an EJBLocalHome It is shared between Sessions and
Entities.
author: Philippe Durieux |
Constructor Summary | |
public | JLocalHome(BeanDesc dd, JFactory bf) Constructor for the base class of the specific generated Home object. |
JLocalHome | public JLocalHome(BeanDesc dd, JFactory bf)(Code) | | Constructor for the base class of the specific generated Home object.
Parameters: dd - The Bean Deployment Descriptor Parameters: bf - The Bean Factory |
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 |
getJndiLocalName | public String getJndiLocalName()(Code) | | The JNDI name |
getLocalHome | public static JLocalHome getLocalHome(String beanName)(Code) | | Get JLocalHome by its name
Parameters: beanName - The Bean JNDI local Name The Bean LocalHome |
postInvoke | public void postInvoke(RequestCtx rctx)(Code) | | postInvoke is called after any request.
Parameters: rctx - The RequestCtx that was returned at preInvoke() |
preInvoke | public RequestCtx preInvoke(int txa)(Code) | | preInvoke is called before any request.
Parameters: txa - Transaction Attribute (Supports, Required, ...) A RequestCtx object throws: EJBException - |
register | protected void register() throws NamingException(Code) | | register this bean to JNDI (rebind) We register actually a Reference
object.
|
remove | abstract public void remove(Object primaryKey) throws RemoveException(Code) | | Removes an EJB object identified by its primary key.
Parameters: primaryKey - The Primary Key |
|
|