Visits a message destination referencer for the last J2EE
component visited
// if it is linked to a logical destination
if( msgDestReferencer.isLinkedToMessageDestination() ) {
return;
// if it is referred to a physical destination
} else if (msgDestReferencer.ownedByMessageDestinationRef() &&
msgDestReferencer.getMessageDestinationRefOwner(
).getJndiName() != null) {
return;
} else {
MessageDestinationDescriptor msgDest =
msgDestReferencer.resolveLinkName();
if( msgDest == null ) {
String linkName =
msgDestReferencer.getMessageDestinationLinkName();
DOLUtils.getDefaultLogger().log(Level.WARNING, "enterprise.deployment.backend.invalidDescriptorMappingFailure",
new Object[] {"message-destination", linkName});
}
}