1 22 package org.jboss.ejb3.test.longlived; 23 24 import javax.ejb.Remove ; 25 26 31 public interface ShoppingCart 32 { 33 long createCustomer(); 34 35 void update(); 36 37 Customer find(long id); 38 39 @Remove void checkout(); 40 41 void update2(); 42 43 void update3(); 44 45 void never(); 46 47 void setContainedCustomer(); 48 49 void updateContained(); 50 51 void findAndUpdateStateless(); 52 53 void checkContainedCustomer(); 54 55 boolean isContainedActivated(); 56 } 57 | Popular Tags |