public class InstitutionMapping extends Object
The singleton instance of this class is initialized during connector startup.
This class is thread-safe.
| Constructor and Description |
|---|
InstitutionMapping()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Map |
getMappingClone()
Used by MBean to display connector mapping list
|
void |
loadMappingsForJndiName(String mcfJndiName,
String[] mcfStationNumbers,
long mcfDistinguishedIdentifier)
Loads one or more station# mappings for a given JNDI name.
|
void |
removeMappingsForJndiName(String mcfJndiName,
String[] mcfStationNumbers,
long mcfDistinguishedIdentifier)
Call to remove mapping
|
public void loadMappingsForJndiName(String mcfJndiName, String[] mcfStationNumbers, long mcfDistinguishedIdentifier) throws InstitutionMappingBadStationNumberException
mcfJndiName - JNDI name to create mappings formcfStationNumbers - One or more station#s to create mappings formcfDistinguishedIdentifier - MCF distinguished identifier used later during a connector's finalize method --
allows a connector to know whether it should remove the mapping or not, depending on a match on
distinguished identifier.InstitutionMappingBadStationNumberExceptionpublic void removeMappingsForJndiName(String mcfJndiName, String[] mcfStationNumbers, long mcfDistinguishedIdentifier)
mcfJndiName - JNDI name of the mapping to removemcfStationNumbers - Station # of the mapping to removemcfDistinguishedIdentifier - Managed Connection Factory (mcf) distinguished identifier to identify owner of
mapping to be removed.public Map getMappingClone()
Copyright © 2026. All rights reserved.