com.sun.j2ee.blueprints.petstore.control.web
Class ModelManager
java.lang.Object
|
+--com.sun.j2ee.blueprints.petstore.control.web.ModelUpdateNotifier
|
+--com.sun.j2ee.blueprints.petstore.control.web.ModelManager
- public class ModelManager
- extends ModelUpdateNotifier
This interface provides a convenient set of methods for the
web tier components to access all the model objects.
This class also insures that only one copy of the model objects
are created for web tier access by placing a reference to the
model objects in the session.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ModelManager
public ModelManager()
init
public void init(javax.servlet.ServletContext context,
javax.servlet.http.HttpSession session)
setSCC
public void setSCC(ShoppingClientControllerWebImpl scc)
getInventoryModel
public InventoryWebImpl getInventoryModel()
getCatalogModel
public CatalogWebImpl getCatalogModel()
getAccountModel
public AccountModel getAccountModel()
getProfileMgrModel
public ProfileMgrModel getProfileMgrModel()
getCartModel
public ShoppingCartModel getCartModel()
getSCCEJB
public ShoppingClientController getSCCEJB()
getShoppingCartEJB
public ShoppingCart getShoppingCartEJB()
getCustomerEJB
public Customer getCustomerEJB()
getProfileMgrEJB
public ProfileMgr getProfileMgrEJB()
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.