public class VistaLinkConnectionFactoryLocator extends Object
The singleton instance of this class is initialized during class initialization.
This class is thread-safe.
| Modifier and Type | Method and Description |
|---|---|
VistaLinkConnectionFactory |
getFactory(String jndiName)
This method should be used to obtain a reference to a VistaLinkConnectionFactory, using
a previosly retrieved JNDI name of the factory
|
VistaLinkConnectionFactory |
getFactoryByDivision(String division)
This method should be used to obtain a reference to a VistaLinkConnectionFactory, using
a division number (Institution), the method does the actual lookup of the division number to an
appropriate JNDI name
|
static VistaLinkConnectionFactoryLocator |
getInstance()
This method should be used to obtain a singleton reference to an instance
|
void |
setContext(Context ctx) |
public static VistaLinkConnectionFactoryLocator getInstance() throws VistaLinkCacheException
VistaLinkCacheExceptionpublic VistaLinkConnectionFactory getFactory(String jndiName) throws VistaLinkConnectionFactoryNotFoundException, VistaLinkCacheException
jndiName - VistaLinkConnectionFactoryNotFoundException, - VistaLinkCacheExceptionVistaLinkConnectionFactoryNotFoundExceptionVistaLinkCacheExceptionpublic VistaLinkConnectionFactory getFactoryByDivision(String division) throws VistaLinkConnectionFactoryNotFoundException, VistaLinkCacheException, InstitutionMapNotInitializedException, InstitutionMappingNotFoundException
division - VistaLinkConnectionFactoryNotFoundException, - VistaLinkCacheException,
InstitutionMapNotInitializedException, InstitutionMappingNotFoundExceptionVistaLinkConnectionFactoryNotFoundExceptionVistaLinkCacheExceptionInstitutionMapNotInitializedExceptionInstitutionMappingNotFoundExceptionpublic final void setContext(Context ctx)
Copyright © 2026. All rights reserved.