Produced by Araxis Merge on 9/11/2017 8:05:37 AM Central 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_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\ap_redesign\mhv_source\mhv_admin\mhv-admin-portlet\src\main\java\gov\va\med\mhv\admin\web\util | SpringContext.java | Wed Jul 5 17:41:58 2017 UTC |
2 | MHV_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\ap_redesign\mhv_source\mhv_admin\mhv-admin-portlet\src\main\java\gov\va\med\mhv\admin\web\util | SpringContext.java | Thu Sep 7 18:50:06 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 58 |
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) | |
9 | * to reac h into a S pring appl ication (W eb Service s Tier) wi thout | |
10 | * intermi xing the a nnotations of JSF, S pring and in some ca ses CDI. | |
11 | * This in termixing has result ed in unpr edictable bean lifec ycles and | |
12 | * the ina bility to leverage J SF scopes such as Vi ew or exte nded scope s | |
13 | * from ot her JSF-ce ntric API' s such as Seam, Weld , etc. | |
14 | * | |
15 | * @author DN S HODGEJ | |
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) | |
22 | throws BeansExce ption { | |
23 | Spri ngContext. context = context; | |
24 | } | |
25 | ||
26 | pu blic stati c Applicat ionContext getApplic ationConte xt() { | |
27 | retu rn context ; | |
28 | ||
29 | } | |
30 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.