|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.va.med.vistalink.institution.InstitutionMappingDelegate
public class InstitutionMappingDelegate
Provides methods used by applications to query the institution mapping.
Method Summary | |
---|---|
static java.lang.String |
getJndiConnectorNameForInstitution(java.lang.String stationNumber)
Returns the JNDI connector name (if found) for a division matching the station number passed in. |
static java.util.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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getJndiConnectorNameForInstitution(java.lang.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 initialized
InstitutionMappingNotFoundException
- thrown if no connector JNDI name has been mapped to input station numberpublic static java.util.Set getVistaLinkMappedStationNumberSet() throws InstitutionMapNotInitializedException
InstitutionMapNotInitializedException
|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |