StoreAccessStateSession.java
资源名称:MyStore.rar [点击查看]
上传用户:hgs128
上传日期:2007-02-03
资源大小:166k
文件大小:1k
源码类别:
百货/超市行业
开发平台:
WINDOWS
- /*
- * Generated by XDoclet - Do not edit!
- */
- package state;
- /**
- * Session layer for StoreAccessState.
- * @lomboz generated
- */
- public class StoreAccessStateSession
- extends state.StoreAccessStateBean
- implements javax.ejb.SessionBean
- {
- public void ejbActivate()
- {
- }
- public void ejbPassivate()
- {
- }
- public void setSessionContext(javax.ejb.SessionContext ctx)
- {
- super.setSessionContext(ctx);
- }
- public void unsetSessionContext()
- {
- super.unsetSessionContext();
- }
- public void ejbRemove()
- {
- }
- private static dao.StoreAccessStateDAO dao = null;
- protected static synchronized dao.StoreAccessStateDAO getDao()
- {
- if (dao != null) {
- return dao;
- } else {
- dao = (dao.StoreAccessStateDAO) new dao.StoreAccessDAOImpl();
- dao.init();
- return dao;
- }
- }
- public java.lang.String loginUser(java.lang.String username,java.lang.String password)
- {
- super.loginUser(username,password);
- return getDao().loginUser(username,password);
- }
- }