com.ibm.websphere.samples.webservices.stock
Class StockQuoteBean

java.lang.Object
  extended by com.ibm.websphere.samples.webservices.stock.StockQuoteBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class StockQuoteBean
extends java.lang.Object
implements javax.ejb.SessionBean

This is a Session Bean Class

See Also:
Serialized Form

Constructor Summary
StockQuoteBean()
           
 
Method Summary
 void ejbActivate()
          ejbActivate method comment
 void ejbCreate()
          ejbCreate method comment
 void ejbPassivate()
          ejbPassivate method comment
 void ejbRemove()
          ejbRemove method comment
 float getQuote(java.lang.String symbol)
          Insert the method's description here.
 javax.ejb.SessionContext getSessionContext()
          getSessionContext method comment
 void setSessionContext(javax.ejb.SessionContext ctx)
          setSessionContext method comment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockQuoteBean

public StockQuoteBean()
Method Detail

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
ejbActivate method comment

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
java.rmi.RemoteException - The exception description.

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
ejbCreate method comment

Throws:
javax.ejb.CreateException - The exception description.

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
ejbPassivate method comment

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
java.rmi.RemoteException - The exception description.

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException
ejbRemove method comment

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
java.rmi.RemoteException - The exception description.

getQuote

public float getQuote(java.lang.String symbol)
Insert the method's description here. Creation date: (02/03/2005 1:00:39 PM)

Parameters:
symbol - java.lang.String
Returns:
float

getSessionContext

public javax.ejb.SessionContext getSessionContext()
getSessionContext method comment

Returns:
javax.ejb.SessionContext

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws java.rmi.RemoteException
setSessionContext method comment

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Parameters:
ctx - javax.ejb.SessionContext
Throws:
java.rmi.RemoteException - The exception description.