Produced by Araxis Merge on 9/15/2018 10:46:48 PM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MHV_2018.4.0.0.zip\2018.4.0.0\admin portal\mhv_source\mhv_admin\mhv-admin-portlet\src\main\java\gov\va\med\mhv\admin\web\util | SpringContext.java | Thu Aug 23 21:11:54 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\admin portal\mhv_source\mhv_admin\mhv-admin-portlet\src\main\java\gov\va\med\mhv\admin\web\util | SpringContext.java | Sat Sep 15 19:04:58 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 56 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.med.m hv.admin.w eb.util; | |
| 2 | ||
| 3 | import org .springfra mework.bea ns.BeansEx ception; | |
| 4 | import org .springfra mework.con text.Appli cationCont ext; | |
| 5 | import org .springfra mework.con text.Appli cationCont extAware; | |
| 6 | ||
| 7 | /** | |
| 8 | * This cl ass is a S ingleton t o allow no n-Spring c lasses (JS F Beans) t o reach | |
| 9 | * into a Spring app lication ( Web Servic es Tier) w ithout int ermixing t he | |
| 10 | * annotat ions of JS F, Spring and in som e cases CD I. This in termixing has | |
| 11 | * resulte d in unpre dictable b ean lifecy cles and t he inabili ty to leve rage JSF | |
| 12 | * scopes such as Vi ew or exte nded scope s from oth er JSF-cen tric API's such as | |
| 13 | * Seam, W eld, etc. | |
| 14 | * | |
| 15 | * @author
|
|
| 16 | * | |
| 17 | */ | |
| 18 | public cla ss SpringC ontext imp lements Ap plicationC ontextAwar e { | |
| 19 | pr ivate stat ic Applica tionContex t context; | |
| 20 | ||
| 21 | pu blic void setApplica tionContex t(Applicat ionContext context) throws Bea nsExceptio n { | |
| 22 | Spri ngContext. context = context; | |
| 23 | } | |
| 24 | ||
| 25 | pu blic stati c Applicat ionContext getApplic ationConte xt() { | |
| 26 | retu rn context ; | |
| 27 | ||
| 28 | } | |
| 29 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.