⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bulletinbean.java

📁 一个jsf企业级程序示例实现一些基本功能
💻 JAVA
字号:
package com.wxd.netbar.presentation;

import java.util.List;

import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;

import com.wxd.netbar.service.PlatformMgServiceImpl;
import com.wxd.netbar.util.SpringWebUtil;

public class BulletinBean {
	private List bulletinList;

	public BulletinBean() {
		init();
	}

	private void init() {
		PlatformMgServiceImpl pm=(PlatformMgServiceImpl)SpringWebUtil.getBean((ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext(), "platformMgService");
		bulletinList=pm.getAllTopBulletin();
	}

	public List getBulletinList() {
		return bulletinList;
	}

	public void setBulletinList(List bulletinList) {
		this.bulletinList = bulletinList;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -