📄 topaction.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: TopAction.java
package com.laoer.bbscs.web.action;
import com.laoer.bbscs.business.*;
import com.laoer.bbscs.business.service.BoardList;
import com.laoer.bbscs.sys.*;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionServlet;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
public class TopAction extends Action
{
private WebApplicationContext wac;
private IUserInfoService userInfoService;
private IFriendService friendService;
private IUserDetailService userDetailSerivce;
private IBookMarkService bookMarkService;
private IUserOnlineService userOnlineService;
private BoardList boardList;
private IGuestBookService guestBookService;
private UserInfoCache userInfoCache;
private IBoardsService boardsService;
private IForumService forumService;
private ISubscibeService subscibeService;
public TopAction()
{
}
public void setServlet(ActionServlet actionServlet)
{
super.setServlet(actionServlet);
javax.servlet.ServletContext servletContext = actionServlet.getServletContext();
wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
boardList = (BoardList)wac.getBean("boradList");
userInfoService = (IUserInfoService)wac.getBean("userInfoService");
friendService = (IFriendService)wac.getBean("friendService");
userDetailSerivce = (IUserDetailService)wac.getBean("userDetailService");
bookMarkService = (IBookMarkService)wac.getBean("bookMarkService");
userOnlineService = (IUserOnlineService)wac.getBean("userOnlineService");
guestBookService = (IGuestBookService)wac.getBean("guestBookService");
userInfoCache = (UserInfoCache)wac.getBean("userInfoCache");
boardsService = (IBoardsService)wac.getBean("boardsService");
forumService = (IForumService)wac.getBean("forumService");
subscibeService = (ISubscibeService)wac.getBean("subscibeService");
}
protected WebApplicationContext getWebApplicationContext()
{
return wac;
}
protected SysInfo getSysInfo()
{
return SysInfo.getInstance();
}
protected Forbid getForbid()
{
return Forbid.getInstance();
}
protected IUserInfoService getUserInfoService()
{
return userInfoService;
}
protected IFriendService getFriendService()
{
return friendService;
}
protected IUserDetailService getUserDetailService()
{
return userDetailSerivce;
}
protected IBookMarkService getBookMarkService()
{
return bookMarkService;
}
protected IUserOnlineService getUserOnlineService()
{
return userOnlineService;
}
protected BoardList getBoardList()
{
return boardList;
}
protected UserInfoCache getUserCache()
{
return userInfoCache;
}
protected IGuestBookService getGuestBookService()
{
return guestBookService;
}
protected IBoardsService getBoardsService()
{
return boardsService;
}
protected IForumService getForumService()
{
return forumService;
}
protected ISubscibeService getSubscibeService()
{
return subscibeService;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -