public class InstitutionMappingDelegate extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getJndiConnectorNameForInstitution(String stationNumber)
Returns the JNDI connector name (if found) for a division matching the station number passed in.
|
static Set |
getVistaLinkMappedStationNumberSet()
Returns the set of station# strings for which adapters have been deployed on the current JVM, and for which
institution mappings currently exist.
|
public static String getJndiConnectorNameForInstitution(String stationNumber) throws InstitutionMapNotInitializedException, InstitutionMappingNotFoundException
An example of retrieving the JNDI name for a connector is:
String stationNumber = 500;
String jndiConnectorName = null;
try {
jndiConnectorName = InstitutionMappingDelegate.getJndiConnectorNameForInstitution(stationNumber);
} catch (InstitutionMappingNotFoundException e) {
// take some action
} catch (InstitutionMapNotInitializedException e) {
// take some action
}
stationNumber - institution station number for Vista Institution.InstitutionMapNotInitializedException - thrown if the institution mapping has not been initializedInstitutionMappingNotFoundException - thrown if no connector JNDI name has been mapped to input station numberpublic static Set getVistaLinkMappedStationNumberSet() throws InstitutionMapNotInitializedException
InstitutionMapNotInitializedExceptionCopyright © 2026. All rights reserved.