Produced by Araxis Merge on 12/5/2017 12:06:48 PM Central Standard 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 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ROICommands\main\src\java\gov\va\med\imaging\roi\commands\provider | ROICommandContext.java | Mon Dec 4 21:35:20 2017 UTC |
| 2 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ROICommands\main\src\java\gov\va\med\imaging\roi\commands\provider | ROICommandContext.java | Mon Dec 4 22:05:24 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 234 |
| Changed | 2 | 4 |
| 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 | /** | |
| 2 | * | |
| 3 | Package: MAG - Vis tA Imaging | |
| 4 | WARNING: Per VHA D irective 2 004-038, t his routin e should n ot be modi fied. | |
| 5 | Date Cre ated: Mar 22, 2012 | |
| 6 | Site Nam e: Washin gton OI Fi eld Office , Silver S pring, MD | |
| 7 | Developer:
|
|
| 8 | Descript ion: | |
| 9 | ||
| 10 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
| 11 | ;; Property of the US Government . | |
| 12 | ;; No permis sion to co py or redi stribute t his softwa re is give n. | |
| 13 | ;; Use of un released v ersions of this soft ware requi res the us er | |
| 14 | ;; to execu te a writt en test ag reement wi th the Vis tA Imaging | |
| 15 | ;; Developm ent Office of the De partment o f Veterans Affairs, | |
| 16 | ;; telephon e (301) 73 4-0100. | |
| 17 | ;; | |
| 18 | ;; The Food and Drug A dministrat ion classi fies this software a s | |
| 19 | ;; a Class I I medical device. A s such, it may not b e changed | |
| 20 | ;; in any wa y. Modifi cations to this soft ware may r esult in a n | |
| 21 | ;; adulterat ed medical device un der 21CFR8 20, the us e of which | |
| 22 | ;; is consid ered to be a violati on of US F ederal Sta tutes. | |
| 23 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
| 24 | ||
| 25 | */ | |
| 26 | package go v.va.med.i maging.roi .commands. provider; | |
| 27 | ||
| 28 | import jav a.lang.ref lect.Metho d; | |
| 29 | ||
| 30 | import org .apache.lo gging.log4 j.LogManag er; | |
| 31 | import org .apache.lo gging.log4 j.Logger; | |
| 32 | ||
| 33 | import gov .va.med.Ro utingToken ; | |
| 34 | import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce; | |
| 35 | import gov .va.med.im aging.core .interface s.Router; | |
| 36 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
| 37 | import gov .va.med.im aging.core .interface s.router.C ommandCont ext; | |
| 38 | import gov .va.med.im aging.core .interface s.router.C ommandFact ory; | |
| 39 | import gov .va.med.im aging.data source.Dat aSourcePro vider; | |
| 40 | import gov .va.med.im aging.data source.Sit eResolutio nDataSourc eSpi; | |
| 41 | import gov .va.med.im aging.data source.Tra nsactionLo ggerDataSo urceSpi; | |
| 42 | import gov .va.med.im aging.data source.Ver sionableDa taSourceSp i; | |
| 43 | import gov .va.med.im aging.exch ange.busin ess.Resolv edSite; | |
| 44 | ||
| 45 | /** | |
| 46 | * @author
|
|
| 47 | * | |
| 48 | */ | |
| 49 | public cla ss ROIComm andContext | |
| 50 | implements CommandCo ntext | |
| 51 | { | |
| 52 | pr ivate fina l CommandC ontext com mandContex t; | |
| 53 | ||
| 54 | pu blic ROICo mmandConte xt(Command Context co mmandConte xt) | |
| 55 | { | |
| 56 | LogM anager.get Logger(ROI CommandCon text.class ).info("Cr eating new DataDicti onaryComma ndContext instance") ; | |
| 57 | this .commandCo ntext = co mmandConte xt; | |
| 58 | } | |
| 59 | ||
| 60 | @O verride | |
| 61 | pu blic Route r getRoute r() | |
| 62 | { | |
| 63 | retu rn command Context.ge tRouter(); | |
| 64 | } | |
| 65 | ||
| 66 | @O verride | |
| 67 | pu blic DataS ourceProvi der getPro vider() | |
| 68 | { | |
| 69 | retu rn command Context.ge tProvider( ); | |
| 70 | } | |
| 71 | ||
| 72 | @O verride | |
| 73 | pu blic SiteR esolutionD ataSourceS pi getSite Resolver() | |
| 74 | { | |
| 75 | retu rn command Context.ge tSiteResol ver(); | |
| 76 | } | |
| 77 | ||
| 78 | @O verride | |
| 79 | pu blic Comma ndFactory getCommand Factory() | |
| 80 | { | |
| 81 | retu rn command Context.ge tCommandFa ctory(); | |
| 82 | } | |
| 83 | ||
| 84 | @O verride | |
| 85 | pu blic Trans actionLogg erDataSour ceSpi getT ransaction LoggerServ ice() | |
| 86 | { | |
| 87 | retu rn command Context.ge tTransacti onLoggerSe rvice(); | |
| 88 | } | |
| 89 | ||
| 90 | @O verride | |
| 91 | pu blic boole an isCachi ngEnabled( ) | |
| 92 | { | |
| 93 | retu rn command Context.is CachingEna bled(); | |
| 94 | } | |
| 95 | ||
| 96 | @O verride | |
| 97 | pu blic Resol vedSite ge tLocalSite () | |
| 98 | { | |
| 99 | retu rn command Context.ge tLocalSite (); | |
| 100 | } | |
| 101 | ||
| 102 | @O verride | |
| 103 | pu blic Resol vedArtifac tSource ge tResolvedA rtifactSou rce( | |
| 104 | Routin gToken rou tingToken) | |
| 105 | th rows Metho dException | |
| 106 | { | |
| 107 | retu rn command Context.ge tResolvedA rtifactSou rce(routin gToken); | |
| 108 | } | |
| 109 | ||
| 110 | @O verride | |
| 111 | pu blic Resol vedArtifac tSource ge tResolvedA rtifactSou rce( | |
| 112 | Routin gToken rou tingToken, | |
| 113 | Class< ? extends Versionabl eDataSourc eSpi> spi, Method me thod, | |
| 114 | Object [] paramet ers) | |
| 115 | th rows Metho dException | |
| 116 | { | |
| 117 | retu rn command Context.ge tResolvedA rtifactSou rce(routin gToken, sp i, method, parameter s); | |
| 118 | } | |
| 119 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.