public void merge(MessageDestinationRef ref) { if (ref.getJndiName() != null) { this.setJndiName(ref.getJndiName()); setMappedName(ref.getJndiName()); } }
public void updateMessageDestinationRef(MessageDestinationRef updatedRef) { log.debug("updateMessageDestinationRef, "+updatedRef); MessageDestinationRef ref = (MessageDestinationRef)messageDestinationRefs.get(updatedRef.getMessageDestinationRefName()); if (ref != null) { ref.setMappedName(updatedRef.getMappedName()); } else { messageDestinationRefs.put(updatedRef.getMessageDestinationRefName(), updatedRef); ref = updatedRef; } }
public void mergeMessageDestinationRef(MessageDestinationRef ref) { MessageDestinationRef tmpRef = (MessageDestinationRef)messageDestinationRefs.get(ref.getMessageDestinationRefName()); if (tmpRef != null) tmpRef.merge(ref); }
/** * Called when a child element with simple content is read for DD. */ public void setValue(MessageDestinationRef ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("description")) { ref.setDescription(getValue(localName, value)); } else if (localName.equals("message-destination-ref-name")) { ref.setMessageDestinationRefName(getValue(localName, value)); } else if (localName.equals("message-destination-type")) { ref.setMessageDestinationType(getValue(localName, value)); } else if (localName.equals("message-destination-usage")) { ref.setMessageDestinationUsage(getValue(localName, value)); } else if (localName.equals("message-destination-link")) { ref.setMessageDestinationLink(getValue(localName, value)); } else if (localName.equals("mapped-name") || localName.equals("jndi-name")) { ref.setMappedName(getValue(localName, value)); } }
public void addMessageDestinationRef(MessageDestinationRef ref) { log.debug("addMessageDestinationRef, "+ref); messageDestinationRefs.put(ref.getMessageDestinationRefName(), ref); String link = ref.getMessageDestinationLink(); if( link != null ) { messageDestinationRefsByLink.put(link, ref); } }
public void addChild(MessageDestinationRef parent, InjectionTarget target, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setInjectionTarget(target); }
/** * Called when a child element with simple content is read for DD. */ public void setValue(MessageDestinationRef ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("description")) { ref.setDescription(getValue(localName, value)); } else if (localName.equals("message-destination-ref-name")) { ref.setMessageDestinationRefName(getValue(localName, value)); } else if (localName.equals("message-destination-type")) { ref.setMessageDestinationType(getValue(localName, value)); } else if (localName.equals("message-destination-usage")) { ref.setMessageDestinationUsage(getValue(localName, value)); } else if (localName.equals("message-destination-link")) { ref.setMessageDestinationLink(getValue(localName, value)); } else if (localName.equals("mapped-name") || localName.equals("jndi-name")) { ref.setMappedName(getValue(localName, value)); } }
public void addMessageDestinationRef(MessageDestinationRef ref) { log.debug("addMessageDestinationRef, "+ref); messageDestinationRefs.put(ref.getMessageDestinationRefName(), ref); String link = ref.getMessageDestinationLink(); if( link != null ) { messageDestinationRefsByLink.put(link, ref); } }
public void addChild(MessageDestinationRef parent, InjectionTarget target, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setInjectionTarget(target); }
child = new MessageDestinationRef();
public void merge(MessageDestinationRef ref) { if (ref.getJndiName() != null) { this.setJndiName(ref.getJndiName()); setMappedName(ref.getJndiName()); } }
public void updateMessageDestinationRef(MessageDestinationRef updatedRef) { log.debug("updateMessageDestinationRef, "+updatedRef); MessageDestinationRef ref = (MessageDestinationRef)messageDestinationRefs.get(updatedRef.getMessageDestinationRefName()); if (ref != null) { ref.setMappedName(updatedRef.getMappedName()); } else { messageDestinationRefs.put(updatedRef.getMessageDestinationRefName(), updatedRef); ref = updatedRef; } }
public void mergeMessageDestinationRef(MessageDestinationRef ref) { MessageDestinationRef tmpRef = (MessageDestinationRef)messageDestinationRefs.get(ref.getMessageDestinationRefName()); if (tmpRef != null) tmpRef.merge(ref); }