source: EDIS/trunk/java/tracking-server-core/src/main/java/gov/va/med/edp/rpc/ConnectionFactoryLocator.java@ 1227

Last change on this file since 1227 was 1227, checked in by George Lilly, 13 years ago

initial load of EDIS 1.0

File size: 854 bytes
Line 
1package gov.va.med.edp.rpc;
2
3import org.springframework.dao.DataAccessResourceFailureException;
4
5import javax.resource.cci.ConnectionFactory;
6
7/**
8 * Implementations of this interface retrieve JCA connection factories for a particular VistA station number.
9 *
10 * @see InstitutionMappingConnectionFactoryLocator
11 */
12public 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.