|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.javaranch.common.EJB | +--com.javaranch.common.EntityEJB
This class provides empty EntityBean methods.
- - - - - - - - - - - - - - - - -
Copyright (c) 1998-2004 Paul Wheaton
You are welcome to do whatever you want to with this source file provided that you maintain this comment fragment (between the dashed lines). Modify it, change the package name, change the class name ... personal or business use ... sell it, share it ... add a copyright for the portions you add ...
My goal in giving this away and maintaining the copyright is to hopefully direct developers back to JavaRanch.
The original source can be found at JavaRanch
- - - - - - - - - - - - - - - - -
Field Summary | |
protected EntityContext |
ctx
|
Constructor Summary | |
EntityEJB()
|
Method Summary | |
void |
setEntityContext(EntityContext ctx)
Implemented for you - you can access the context as "ctx". |
void |
unsetEntityContext()
Implemented for you - "ctx" is set to null. |
Methods inherited from class com.javaranch.common.EJB |
ejbActivate, ejbPassivate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected EntityContext ctx
Constructor Detail |
public EntityEJB()
Method Detail |
public void setEntityContext(EntityContext ctx)
If you override this method, you must set ctx appropriately or other methods in this class won't work correctly.
public void unsetEntityContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |