ShoppingCartBean.java~12~
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package sfsbsample;
- import javax.ejb.*;
- import java.util.*;
- public class ShoppingCartBean implements SessionBean {
- SessionContext sessionContext;
- private String userId;
- private String userName;
- private Vector MyScheduleList;
- public void ejbCreate() throws CreateException {
- System.out.println(" *** ShoppingCartEJB - ejbCreate() ***");
- MyScheduleList = new Vector(10);
- }
- public void ejbCreateCustom(String aUserId, String aUserName) throws CreateException {
- /**@todo Complete this method*/
- }
- public void ejbRemove() {
- /**@todo Complete this method*/
- }
- public void ejbActivate() {
- /**@todo Complete this method*/
- }
- public void ejbPassivate() {
- /**@todo Complete this method*/
- }
- public void setSessionContext(SessionContext sessionContext) {
- this.sessionContext = sessionContext;
- }
- public void addASchedule(ScheduleVO schedule) {
- /**@todo Complete this method*/
- }
- public void deleteASchedule(String ScheduleId) {
- /**@todo Complete this method*/
- }
- public java.util.Vector getMyScheduleList() {
- /**@todo Complete this method*/
- return null;
- }
- public void emptyMyScheduleList() {
- /**@todo Complete this method*/
- }
- public double getTotalCost() {
- /**@todo Complete this method*/
- return 0;
- }
- public void checkOut() {
- /**@todo Complete this method*/
- }
- }