Last change
on this file since 507 was 507, checked in by George Lilly, 15 years ago |
NHIN gateway and adaptor for use on linux with VistA EHR and RPMS
|
File size:
1.7 KB
|
Line | |
---|
1 | /*
|
---|
2 | * To change this template, choose Tools | Templates
|
---|
3 | * and open the template in the editor.
|
---|
4 | */
|
---|
5 |
|
---|
6 | package gov.hhs.fha.nhinc.connectmgr.uddi;
|
---|
7 |
|
---|
8 | import gov.hhs.fha.nhinc.nhinccomponentuddiupdatemanager.NhincComponentUDDIUpdateManagerPortType;
|
---|
9 | import javax.ejb.Stateless;
|
---|
10 | import javax.jws.WebService;
|
---|
11 | import org.apache.commons.logging.Log;
|
---|
12 | import org.apache.commons.logging.LogFactory;
|
---|
13 |
|
---|
14 | /**
|
---|
15 | *
|
---|
16 | * @author svalluripalli
|
---|
17 | */
|
---|
18 | @WebService(serviceName = "NhincComponentUDDIUpdateManager", portName = "NhincComponentUDDIUpdateManagerPortSoap11", endpointInterface = "gov.hhs.fha.nhinc.nhinccomponentuddiupdatemanager.NhincComponentUDDIUpdateManagerPortType", targetNamespace = "urn:gov:hhs:fha:nhinc:nhinccomponentuddiupdatemanager", wsdlLocation = "META-INF/wsdl/UDDIUpdateManager/NhincComponentUDDIUpdateManager.wsdl")
|
---|
19 | @Stateless
|
---|
20 | public class UDDIUpdateManager implements NhincComponentUDDIUpdateManagerPortType {
|
---|
21 | private static Log log = LogFactory.getLog(UDDIUpdateManager.class);
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * Default constructor.
|
---|
25 | */
|
---|
26 | public UDDIUpdateManager()
|
---|
27 | {
|
---|
28 | try
|
---|
29 | {
|
---|
30 | UDDITimer.startTimer();
|
---|
31 | }
|
---|
32 | catch (Exception e)
|
---|
33 | {
|
---|
34 | String sErrorMessage = "Failed to start UDDIUpdateManager's timer. Error: " + e.getMessage();
|
---|
35 | log.error(sErrorMessage, e);
|
---|
36 | }
|
---|
37 | }
|
---|
38 |
|
---|
39 | public gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshResponseType forceRefreshFileFromUDDIServer(gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshRequestType uddiUpdateManagerForceRefreshRequest) {
|
---|
40 | return UDDIUpdateManagerHelper.forceRefreshFileFromUDDIServer(uddiUpdateManagerForceRefreshRequest);
|
---|
41 | }
|
---|
42 |
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.