public class BuyerMDB extends Object implements MessageListener
Modifier and Type | Field and Description |
---|---|
private AuctionItemDAO |
auctionItemDAO |
private AuctionMgmtLocal |
auctionMgmt |
private BuyerLocal |
buyer |
private MessageDrivenContext |
ctx |
private EntityManager |
em |
private static org.apache.commons.logging.Log |
log |
private OrderDAO |
orderDAO |
Constructor and Description |
---|
BuyerMDB() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
onMessage(Message message) |
protected void |
processAuctionItem(long itemId) |
protected void |
processOrder(Order order) |
private static final org.apache.commons.logging.Log log
private BuyerLocal buyer
private AuctionMgmtLocal auctionMgmt
private EntityManager em
private AuctionItemDAO auctionItemDAO
private OrderDAO orderDAO
private MessageDrivenContext ctx
@PostConstruct public void init()
@PermitAll public void onMessage(Message message)
onMessage
in interface MessageListener
protected void processAuctionItem(long itemId)
protected void processOrder(Order order)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.