public void setValue(MessageDestination destination, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("message-destination-name")) { destination.setMessageDestinationName(getValue(localName, value)); } else if (localName.equals("mapped-name") || localName.equals("jndi-name")) { destination.setMappedName(getValue(localName, value)); } }
public void setValue(MessageDestination destination, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("message-destination-name")) { destination.setMessageDestinationName(getValue(localName, value)); } else if (localName.equals("mapped-name") || localName.equals("jndi-name")) { destination.setMappedName(getValue(localName, value)); } }