|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.ejb21.JLocalHome
public abstract class JLocalHome
This class represents an EJBLocalHome It is shared between Sessions and Entities.
| Field Summary | |
|---|---|
protected JFactory |
bf
|
protected BeanDesc |
dd
|
protected static 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 |
String |
getJndiLocalName()
|
static JLocalHome |
getLocalHome(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(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 Map homeList
| Constructor Detail |
|---|
public JLocalHome(BeanDesc dd,
JFactory bf)
dd - The Bean Deployment Descriptorbf - The Bean Factory| Method Detail |
|---|
public abstract void remove(Object primaryKey)
throws RemoveException
remove in interface EJBLocalHomeprimaryKey - The Primary Key
RemoveExceptionpublic String getJndiLocalName()
protected void register()
throws NamingException
NamingException
protected void unregister()
throws NamingException
NamingExceptionpublic static JLocalHome getLocalHome(String beanName)
beanName - The Bean JNDI local Name
public RequestCtx preInvoke(int txa)
txa - Transaction Attribute (Supports, Required, ...)
EJBExceptionpublic 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 | |||||||||