*/
private ParticipantIF<T> getVolatileParticipantPort(EndpointReference epr, Xid xid)
throws SOAPException {
ParticipantIF<T> participantPort;
synchronized (m_volatileParticipantPortMapLock) {
participantPort = m_volatileParticipantPortMap.get(new BranchXidImpl(xid));
}
if (participantPort != null) {
if (isDebugEnabled()) LOGGER.info(LocalizationMessages.WSAT_4598_VOLATILE_PARTICIPANT_RETRIEVED_FROM_CACHE(xid));
return participantPort;
}
participantPort = getParticipantPort(epr, xid, null);
synchronized (m_volatileParticipantPortMapLock) {
m_volatileParticipantPortMap.put(new BranchXidImpl(xid), participantPort);
}
if (isDebugEnabled()) LOGGER.info(LocalizationMessages.WSAT_4599_VOLATILE_PARTICIPANT_PORT_PLACED_IN_CACHE(xid));
return participantPort;
}