`
文章列表
For HSI, MHI & HHI Futures Markets only:   Order Placements   The main objective of the pre-market mechanism is to establish the Calculated Opening Price (COP) before market open, so as to establish an orderly market open and enhance market efficiency.   Three trading sessions, namely the P ...
        Index Futures and Options     The series name standards are illustrated below:   Root Symbol HSI – Hang Seng Index MHI – Mini-Hang Seng Index HHI – Hang Seng China Enterprises Index MCH – Mini-Hang Seng China Enterprises Index   For details, refer to the Instrument Explorer win ...
---------------------------------------------------------------------- Declaration Example 1:   public enum Size { SMALL, MEDIUM, LARGE, EXTRA_LARGE }; ---------------------------------------------------------------------- Declaration Example 2: enum Size{   SMALL("S"), MEDIUM("M ...
mvn install :  build application   mvn site    : generate application site   mvn test    : run unit test. (Put your test in src/test/java; add a test-scoped dependency on either TestNG or JUnit)   mvn -v       : check maven version, java version, os info   mvn help:describe -Dplugin=help          :  ...
  转载自这里 和Bash的环境设定有关的文件有/etc/profile (主要)$HOME/.bash_profile (主要)$HOME/.bash_login$HOME/.profile$HOME/.bash_logout (主要)$HOME/.bashrc (主要)/etc/bashrc 说明如下: 登入(login)时 先执行 /etc/profile 接着bash会检查使用者的自家 ...
Original usage   Originally, our application use the org.springframework.beans.factory.config.PropertyPlaceholderConfigurer in this way.   In Spring config file:     <bean id="initializationBean" class="com.citigroup.eqtg.exchangesim.InitializationBean">    
If you want to look up a single changelist you can:      p4win:   Use the menu option "Changelist -> Describe Changelist..."      p4v:  Use the menu "Edit -> Go To..."  or <ctrl>-G  
All you need to do is to config the following 2 beans in your spring config file.     <!-- Hibernate configuration --> <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
say, you set up all the variables in one shell --- env.ksh, as below   export JAVA_HOME=/usr/java/jdk1.5.0_09/export M2_HOME=/home... export ANT_HOME=/home/apache-ant-1.7.0export PERFORCE_HOME=/home/perforceexport PATH=$JAVA_HOME/bin:$M2_HOME/bin:$ANT_HOME/bin:$PERFORCE_HOME/bin:$PATHexport P4PORT=. ...
Step 1) Find where perforce is installed on the unix box.         Say this folder: /home/pvprapp1/opt/perforce   Step 2) Export the environment variable.       Issue command: export PATH=$PATH:$HOME/opt/perforce/bin       Issue command: export P4PORT=...net:1999 you can also export variables ...
package test; import java.util.Date;import org.quartz.JobDetail;import org.quartz.Scheduler;import org.quartz.SchedulerException;import org.quartz.SchedulerFactory;import org.quartz.SimpleTrigger;import org.quartz.Trigger;import org.quartz.TriggerUtils; public class Test{  public static void main(Str ...
  by Robert Cowham, Perforce Consulting Partner   http://www.vaccaperna.co.uk/scm/branching.html     Introduction   This web page gives an introduction to Perforce branching mechanisms and explains some aspects that may not be obvious at first sight (well they weren't to me anyway!). This pa ...
%m 输出代码中指定的消息 %p 输出优先级,即DEBUG,INFO,WARN,ERROR,FATAL %r 输出自应用启动到输出该log信息耗费的毫秒数 %c 输出所属的类目,通常就是所在类的全名 %t 输出产生该日志事件的线程名 %n 输出一个回车换行符,Windows平台为“\r\n”,Unix平台为“\n” %d 输出日志时间点的日期或时间,默认格式为ISO8601,也可以在其后指定格式,比如:%d{yyy MMM dd HH:mm:ss,SSS},输出类似: 2002年10月18日 22:10:28,921 %l 输出日志事件的发生位置,包括类目名、发生的线程,以及在代码中的行数。举 ...
  The PropertyPlaceholderConfigurer is used to externalize property values from a BeanFactory definition, into another separate file in the standard Java Properties format.   ========Spring Config snippet==================     <bean class="org.springframework.beans.factory.config.PropertyPlac ...
  Setup Eclipse development environment ===================================== For Eclipse IDE for Java Developers 3.4   - Start eclipse with options "-vm <JDK 5 PATH>/bin/javaw" (not JRE PATH)     - Setup maven plugin (please refer to http://www.sonatype.com/book/reference/ecl ...
Global site tag (gtag.js) - Google Analytics