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

📄 constants.java.svn-base

📁 this is example use EJB with jboss.
💻 SVN-BASE
字号:
/*
 * Copyright(C) 2008, NTT AT Co., Ltd.
 * Project: AWGView
 *
 * Notes:
 *  N/A
 *
 * Record of change:
 * Date         Version      Name       Content
 * 2008/12/15   1.0          TriNT      First create       
 */
package jp.co.ntt.awgview.server.constant;

/**
 * Class name : Constants <BR>
 * 
 * Package : jp.co.ntt_at.awgview.server.constant <BR>
 * 
 * Description: Define common constants <BR>
 * 
 * @author : AI&T
 * @version : 1.0
 */
public class Constants {

	public static final String FILE_SEPARATOR = java.io.File.separator;
	public static final String  LINE_SEP = System.getProperty("line.separator");
	
	public static final String CONF_PATH = FILE_SEPARATOR + "server"
			+ FILE_SEPARATOR + "default" + FILE_SEPARATOR + "conf"
			+ FILE_SEPARATOR + "awgview" + FILE_SEPARATOR;	
	public static final String LOG4J_CONFIG_FILE = CONF_PATH + "log4j.properties";	
	public static final String SERVER_CONFIG_FILE = CONF_PATH + "awgview.server.properties";
	public static final String ALARM_TYPE_CONFIG_FILE = CONF_PATH + "alarm_type.ini";
	public static final String ALARM_LEVEL_CONFIG_FILE = CONF_PATH + "alarm_level.ini";
	public static final String RUN_PATH = FILE_SEPARATOR + "server"
	+ FILE_SEPARATOR + "default" + FILE_SEPARATOR + "deploy"
	+ FILE_SEPARATOR + "awgview" + FILE_SEPARATOR;
	
	public static final String LICENSE_PATH = FILE_SEPARATOR + "server" + FILE_SEPARATOR + "default"+ 
			FILE_SEPARATOR + "license" + FILE_SEPARATOR + "awgview" + FILE_SEPARATOR +"awgview.lic";
	
	public static final int USER_TIMEOUT_DEFAULT = 60; // (second)
	public static final String UDP = "udp:";
	public static final String SNMP_PORT_SET_GET = "/161";
	public static final int SNMP_SET = 3;
	public static final int SNMP_GET = 0;	
	public static final String DATE_FORMAT = "yyyy/MMMMM/dd hh:mm:ss.SSSSSS";
	public static final String LOG_DATE_FORMAT = "yyyy/MM/dd HH:mm:ss";
	public static final int QUEUE_SEND_FREE = 0;
	public static final int QUEUE_SEND_BUSY = 1;
	public static final int QUEUE_RECV_FREE = 2;
	public static final int QUEUE_RECV_BUSY = 3;
	
	public static final String HELP = "Usage: java -jar awgview.server.jar [-options]" 
		+ LINE_SEP + "   or  awgview.server.sh [-options]" + LINE_SEP 
		+ LINE_SEP + "where options include:"
		+ LINE_SEP + "    -help         print this help message "
		+ LINE_SEP + "    -version      print product version and exit";
		
	public static final String VERSION = "AWG-VIEW Version 1.1.0"  
		+ LINE_SEP + "Copyright(C) 2008, NTT." + LINE_SEP
		+ LINE_SEP + "Open source libraries: Piccolo 2D, BSD License; JBoss, LGPL License; " 
		+ LINE_SEP + "Log4j, Apache License; SNMP4J, Apache License; PostgreSQL, BSD License";
	public static final int DIAGRAM_VIEW 	  = 0;
	public static final int PACKAGE_IMPL_VIEW = 1;
	
	public static final String REQUEST_QUEUE_NAME = "queue/awgview.RequestQueue.";
	public static final String REPLY_QUEUE_NAME = "queue/awgview.ReplyQueue.";
	
	/**Non-zero values indicate faulty or abnormal termination, as the javadocs explain*/
	public static final int SYSTEM_EXIT = 0;
	
	
}

⌨️ 快捷键说明

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