KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > injection > bean > ShoppingCart


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.injection.bean;
8
9 import java.util.HashMap JavaDoc;
10 import javax.ejb.Remove JavaDoc;
11
12 public interface ShoppingCart
13 {
14    void buy(String JavaDoc product, int quantity);
15
16    HashMap JavaDoc<String JavaDoc, Integer JavaDoc> getCartContents();
17
18    @Remove JavaDoc void checkout();
19 }
20
Popular Tags