View Javadoc
1 /* 2 * StartUpImpl.java 3 * 4 * Created on February 20, 2003, 10:14 PM 5 */ 6 7 package com.mlw.fps.model.business.dao.memmory; 8 9 import java.io.File; 10 11 import com.mlw.fps.model.business.bean.SystemProperties; 12 import com.mlw.fps.model.business.dao.StartUp; 13 14 /*** 15 * 16 * @author Matthew Wilson 17 */ 18 public class Config implements StartUp 19 { 20 /*** Creates a new instance of StartUpImpl 21 */ 22 public Config() 23 { 24 } 25 26 public boolean init() 27 { 28 String logDir = SystemProperties.getProperty("logDirectory"); 29 if( logDir == null ) return false; 30 31 File logs = new File( logDir ); 32 if( logs.exists() ) 33 { 34 StaticData.instance().init(logDir); 35 } 36 37 return StaticData.instance().initialized(); 38 } 39 40 public boolean isInitialized() 41 { 42 return StaticData.instance().initialized(); 43 } 44 45 }

This page was automatically generated by Maven