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

📄 servicetype.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/************************************************************************* *                                                                       * *  EJBCA: The OpenSource Certificate Authority                          * *                                                                       * *  This software is free software; you can redistribute it and/or       * *  modify it under the terms of the GNU Lesser General Public           * *  License as published by the Free Software Foundation; either         * *  version 2.1 of the License, or any later version.                    * *                                                                       * *  See terms of license at gnu.org.                                     * *                                                                       * *************************************************************************/package org.ejbca.ui.web.admin.services.servicetypes;import java.io.IOException;import java.io.Serializable;import java.util.ArrayList;import java.util.Properties;/** * Abstract base class of all type of service components. Used to manages * available and compatible JSF SubViews *  * @author Philip Vendil 2006 sep 29 * * @version $Id: ServiceType.java,v 1.3 2006/10/26 11:02:17 herrvendil Exp $ */public abstract class ServiceType implements Serializable{		private String jSFSubViewPage;	private String name;	private boolean translatable;	/**	 * 	 * @param subViewPage the name og the subViewPage to link in the page	 * @param name, the name of the page when it is selected in the GUI	 * @param translatable if the name should be looked up in the resource files or not. 	 */	public ServiceType(String subViewPage, String name, boolean translatable) {		super();		jSFSubViewPage = subViewPage;		this.name = name;		this.translatable = translatable;	}	/**	 * @return the name og the subViewPage to link in the page	 */	public String getJSFSubViewPage() {		return jSFSubViewPage;	}	/**	 * @return the name of the page when it is selected in the GUI	 */	public String getName() {		return name;	}	/**	 * @return if the name should be looked up in the resource files or not. 	 */	public boolean isTranslatable() {		return translatable;	}		/**	 * All implementing classes should populate the properties	 * @return	 */	public abstract Properties getProperties(ArrayList errorMessages) throws IOException;		/**	 * All implementing classes should populate the gui data	 * @return	 */	public abstract void setProperties(Properties properties) throws IOException;		/**	 * The classPath of the component in the model	 */    public abstract String getClassPath();        /**     * Return true if this type is a custom type      */    public abstract boolean isCustom();}

⌨️ 快捷键说明

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