Rev | Line | |
---|
[1227] | 1 | package gov.va.med.edp.vistalink;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.dao.DataAccessResourceFailureException;
|
---|
| 4 |
|
---|
| 5 | import javax.resource.cci.ConnectionFactory;
|
---|
| 6 |
|
---|
| 7 | /**
|
---|
| 8 | * Implementations of this interface retrieve JCA connection factories for a particular VistA station number.
|
---|
| 9 | *
|
---|
| 10 | * @see gov.va.med.edp.vistalink.locator.InstitutionMappingConnectionFactoryLocator
|
---|
| 11 | */
|
---|
| 12 | public interface ConnectionFactoryLocator {
|
---|
| 13 | /**
|
---|
| 14 | * Retrieves a connection factory for the specified station number, or throws an exception. Never should return null.
|
---|
| 15 | *
|
---|
| 16 | * @param stationNumber
|
---|
| 17 | * @return the connection factory for the specified station number, or throw a data access resource exception if there is none.
|
---|
| 18 | * @throws DataAccessResourceFailureException
|
---|
| 19 | *
|
---|
| 20 | */
|
---|
| 21 | ConnectionFactory getConnectionFactory(String stationNumber) throws DataAccessResourceFailureException;
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.