|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.rubis.beans.MDB_ViewBidHistory
This is a stateless session bean used get the bid history of an item.
Constructor Summary | |
MDB_ViewBidHistory()
|
Method Summary | |
void |
ejbCreate()
The Message driven bean must define an ejbCreate methods with no args. |
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
java.lang.String |
getBidHistory(int itemId)
Get the list of bids related to a specific item. |
void |
onMessage(javax.jms.Message message)
|
java.lang.String |
printBidHistory(int userId,
java.lang.String bidderName,
float bid,
java.lang.String date)
Display bid history information as an HTML table row |
java.lang.String |
printBidHistoryFooter()
Bids list footer printed function |
java.lang.String |
printBidHistoryHeader()
Bids list header printed function |
void |
setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
Set the associated context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MDB_ViewBidHistory()
Method Detail |
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
public java.lang.String getBidHistory(int itemId) throws java.rmi.RemoteException
public java.lang.String printBidHistory(int userId, java.lang.String bidderName, float bid, java.lang.String date) throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurspublic java.lang.String printBidHistoryHeader()
public java.lang.String printBidHistoryFooter()
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
setMessageDrivenContext
in interface javax.ejb.MessageDrivenBean
MessageDrivenContext
- A MessageDrivenContext interface for the instance.javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.MessageDrivenBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |