289. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/11/2019 10:54:16 AM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

289.1 Files compared

# Location File Last Modified
1 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\service\config SingletonApplicationContext.java Wed May 29 15:26:02 2019 UTC
2 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\service\config SingletonApplicationContext.java Mon Jun 10 19:27:47 2019 UTC

289.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 154
Changed 1 2
Inserted 0 0
Removed 0 0

289.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

289.4 Active regular expressions

No regular expressions were active.

289.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2004 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4  
  5   package go v.va.med.f w.service. config;
  6  
  7   import org .springfra mework.con text.Appli cationCont ext;
  8  
  9   import gov .va.med.fw .service.A bstractCom ponent;
  10  
  11   /**
  12    * Utilize s <code>Co ntextSingl etonBeanFa ctoryLocat or</code>  class to l oad a
  13    * shared  context in  a single  EAR file.  This class  is thread -safe and
  14    * syynchr onization  is handled  in <code> ContextSin gletonBean FactoryLoc ator<code>
  15    * 
  16    * @author   DN S
  17    */
  18   public cla ss Singlet onApplicat ionContext  extends A bstractCom ponent {
  19  
  20           /* *
  21            *  An instan ce of inst ance
  22            * /
  23           pr ivate stat ic Singlet onApplicat ionContext  instance  = null;
  24  
  25           /* *
  26            *  A default  construct or
  27            * /
  28           pr otected Si ngletonApp licationCo ntext() {
  29                    supe r();
  30           }
  31  
  32           /* *
  33            *  Returns a  single in stance of  this class
  34            *  
  35            *  @return
  36            * /
  37           pu blic stati c Singleto nApplicati onContext  getInstanc e() {
  38  
  39                    
  40                    sync hronized ( SingletonA pplication Context.cl ass) {
  41                             if (in stance ==  null) {
  42                                               instance =  new Singl etonApplic ationConte xt();
  43                             }
  44                    }
  45                    retu rn instanc e;
  46           }
  47  
  48           /* *
  49            *  Get bean  with speci fied id
  50            *  
  51            *  @param be anName
  52            *  @return
  53            * /
  54           pu blic Objec t getBean( String bea nName) {
  55                    retu rn getAppl icationCon text().get Bean(beanN ame);
  56           }
  57  
  58           /* *
  59            *  
  60            *  @param be anId
  61            *  @param cl azz
  62            *  @return
  63            * /
  64           pu blic Objec t getBean( String bea nId, Class  clazz) {
  65                    retu rn getAppl icationCon text().get Bean(beanI d, clazz);
  66           }
  67  
  68           //  to be del eted metho ds
  69  
  70           pu blic void  setSinglet onContext(
  71                             org.sp ringframew ork.contex t.Configur ableApplic ationConte xt context ) {
  72  
  73           }
  74  
  75           pu blic Appli cationCont ext getSin gletonCont ext() {
  76                    retu rn getAppl icationCon text();
  77           }
  78   }