|
|||||||||||
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.SessionEJB
Inheriting this abstract class provides empty SessionBean 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 SessionContext |
ctx
|
Constructor Summary | |
SessionEJB()
|
Method Summary | |
void |
ejbCreate()
Override this only if you have to. |
void |
ejbRemove()
Override this only if you have to. |
void |
setSessionContext(SessionContext ctx)
The context is grabbed and stored in ctx for any of your future context needs. |
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 SessionContext ctx
Constructor Detail |
public SessionEJB()
Method Detail |
public void setSessionContext(SessionContext ctx)
Should you choose to override this method, please call super.setEntityContext().
public void ejbCreate() throws CreateException
CreateException
public void ejbRemove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |