Line | |
---|
1 | package gov.va.med.edp.vistalink.adapter.spi;
|
---|
2 |
|
---|
3 | import org.springframework.beans.factory.InitializingBean;
|
---|
4 | import gov.va.med.vistalink.adapter.spi.EMAdapterEnvironment;
|
---|
5 |
|
---|
6 | public class VistaLinkManagedConnectionFactory extends gov.va.med.vistalink.adapter.spi.VistaLinkManagedConnectionFactory implements InitializingBean {
|
---|
7 |
|
---|
8 | private String stationNumber;
|
---|
9 |
|
---|
10 | public void afterPropertiesSet() throws Exception {
|
---|
11 | setPrimaryStation(stationNumber);
|
---|
12 | setAdapterEnvironment(EMAdapterEnvironment.J2EE);
|
---|
13 | }
|
---|
14 |
|
---|
15 | public void setStationNumber(String stationNumber) {
|
---|
16 | this.stationNumber = stationNumber;
|
---|
17 | }
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.