org.acme
Class MagicGBallBean

java.lang.Object
  extended byorg.acme.MagicGBallBean
All Implemented Interfaces:
EnterpriseBean, Serializable, SessionBean

public class MagicGBallBean
extends Object
implements SessionBean

Bean implementation class for Enterprise Bean: MagicGBall

Version:
$Rev: 356022 $ $Date: 2005-12-11 12:58:34 -0800 (Sun, 11 Dec 2005) $
See Also:
Serialized Form

Constructor Summary
MagicGBallBean()
           
 
Method Summary
 String ask(String question)
           
 void ejbActivate()
          ejbActivate
 void ejbCreate()
          ejbCreate
 void ejbPassivate()
          ejbPassivate
 void ejbRemove()
          ejbRemove
 SessionContext getSessionContext()
          getSessionContext
 void setSessionContext(SessionContext ctx)
          setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagicGBallBean

public MagicGBallBean()
Method Detail

ask

public String ask(String question)

getSessionContext

public SessionContext getSessionContext()
getSessionContext


setSessionContext

public void setSessionContext(SessionContext ctx)
setSessionContext

Specified by:
setSessionContext in interface SessionBean

ejbCreate

public void ejbCreate()
               throws CreateException
ejbCreate

Throws:
CreateException

ejbActivate

public void ejbActivate()
ejbActivate

Specified by:
ejbActivate in interface SessionBean

ejbPassivate

public void ejbPassivate()
ejbPassivate

Specified by:
ejbPassivate in interface SessionBean

ejbRemove

public void ejbRemove()
ejbRemove

Specified by:
ejbRemove in interface SessionBean


Copyright © 2006 Apache Software Foundation. All Rights Reserved.