????????????Щ??????????????????????
1?????????費(fèi)???????????????????????api???????????????д????
2??????д??????PropFactory????????á?????????д???ajoo way of reading property????д???bjoo way of reading property????????????????????????????????????????Э????????
3???????????????????????????????????????????????????????????????????????????????????????
4?????????PropFactory????????????????κ????????????????????build process?? deploy process??????????????????????????nightly build???????????????????????

????????????????????????ClassLoader.loadResourceAsStream??????????????????????????????????????????????????????????????????????????
??????????PropFactory??????????????????????????commons logging?? log4j??????????????????????????д??PropFactory????????????ClassLoader??????????????????????????
???????“?????”??????б??????????????????????д??????????jsp?????????????????????servlet????????????????html??????????????????????????jsp?????????????servlet????html.

????????????????????Э????????????Map????????in house framework????????????????????????

??????????????

    new ImplFactoryProxy(PropFactory.getInstance().getProperty("defaults.properties").toProperties()) 

???toProperties()??PropFactory?????????????????????????inhouse??IProperties?????java.util.Properties??

??????????????????в???ioc??????????£????????????????????????ServiceFactory??????????

    public class ServiceFactoryUtil { 
      public static ServiceFactory getServiceFactory(); 
    } 

??????????PropFactory.getInstance()????????singleton???????????????properties?????

?????????????????????

?????????????????????????????????Map????????ImplFactoryProxy?????????PropFactory??????????????????????

?????????????????????????????????????????????java.util.Map??????????IProperties??

??μ??????
1????????????????toProperties()???á?????????????????????????“???????????????”??
2??java.util.Map?????????????????????????get()???????keySet()??containsKey()???????java.util.Map???????

??????????IProperties?????????
1??IProperties???????????????????jdk?????????????java.util.Map???IProperties??????????IProperties???????????“???”??á?
2??????????????????toProperties()???????????????????????????????????е????????????
3??????java.util.Map????С????IProperties????????????Щ?????????????
4???????????????????????????????IProperties????????PropFactory.getInstance()???????????????????IProperties????????????????磬?????????????????????????????????????????IProperties?????Serializable????????ServiceFactory?????Serializable???????????????????????????IProperties??????????????????????????

?????????????????????????????????????????????????????????????????????У???????????????????“??С????”??????????????????????????????“????”???????????????ɡ??????????????С??????????????DRY??unit test????????????????????????

?????????????????????????