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

📄 ejbcajsfimageresource.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
package org.ejbca.ui.web.admin.configuration;import java.util.Collection;import java.util.Map;import java.util.Set;import javax.ejb.EJBException;/** * Class used to retrieve EJBCA image resources in JSF views *  * Implements a Map used for retrieving resources. * @author Philip Vendil * $id$ * @see org.ejbca.ui.web.admin.configuration.EjbcaWebBean#getImagefileInfix(String) */public class EjbcaJSFImageResource implements Map {	private EjbcaWebBean ejbcawebbean;		public EjbcaJSFImageResource(EjbcaWebBean ejbcawebbean){		this.ejbcawebbean = ejbcawebbean;	}		public void clear() {		throw new EJBException("Method clear not supported");	}	public boolean containsKey(Object arg0) {				return ejbcawebbean.getImagefileInfix((String) arg0) != null;	}	public boolean containsValue(Object arg0) {		throw new EJBException("Method containsValue not supported");	}	public Set entrySet() {		throw new EJBException("Method entrySet not supported");	}	public Object get(Object arg0) {		return ejbcawebbean.getImagefileInfix((String) arg0);	}	public boolean isEmpty() {		throw new EJBException("Method isEmpty not supported");	}	public Set keySet() {		throw new EJBException("Method keySet not supported");	}	public Object put(Object arg0, Object arg1) {		throw new EJBException("Method put not supported");	}	public void putAll(Map arg0) {		throw new EJBException("Method putAll not supported");	}	public Object remove(Object arg0) {		throw new EJBException("Method remove not supported");	}	public int size() {		throw new EJBException("Method size not supported");	}	public Collection values() {		throw new EJBException("Method values not supported");	}}

⌨️ 快捷键说明

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