|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.container.JLocalHome
This class represents an EJBLocalHome It is shared between Sessions and Entities.
Field Summary | |
protected JFactory |
bf
|
protected BeanDesc |
dd
|
protected static java.util.Map |
homeList
|
Constructor Summary | |
JLocalHome(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 |
java.lang.String |
getJndiLocalName()
|
static JLocalHome |
getLocalHome(java.lang.String beanName)
Get JLocalHome by its name |
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) We register actually a Reference object. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected BeanDesc dd
protected JFactory bf
protected static java.util.Map homeList
Constructor Detail |
public JLocalHome(BeanDesc dd, JFactory bf)
dd
- The Bean Deployment Descriptorbf
- The Bean FactoryMethod Detail |
public abstract void remove(java.lang.Object primaryKey) throws javax.ejb.RemoveException
remove
in interface javax.ejb.EJBLocalHome
primaryKey
- The Primary Key
javax.ejb.RemoveException
public java.lang.String getJndiLocalName()
protected void register() throws javax.naming.NamingException
javax.naming.NamingException
protected void unregister() throws javax.naming.NamingException
javax.naming.NamingException
public static JLocalHome getLocalHome(java.lang.String beanName)
beanName
- The Bean JNDI local Name
public RequestCtx preInvoke(int txa)
txa
- Transaction Attribute (Supports, Required, ...)
EJBException
public void checkSecurity(EJBInvocation ejbInv)
ejbInv
- object containing security signature of the method, args of
method, etcpublic void postInvoke(RequestCtx rctx)
rctx
- The RequestCtx that was returned at preInvoke()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |