public void removeMessageDestinationReferenceDescriptor (MessageDestinationReferenceDescriptor msgDestRef) { this.getMessageDestinationReferenceDescriptors().remove(msgDestRef); }
public void removeMessageDestinationReferenceDescriptor (MessageDestinationReferenceDescriptor msgDestRef) { this.getMessageDestinationReferenceDescriptors().remove(msgDestRef); }
public void addMessageDestinationReferenceDescriptor (MessageDestinationReferenceDescriptor messageDestRef) { messageDestRef.setReferringBundleDescriptor(this); this.getMessageDestinationReferenceDescriptors().add(messageDestRef); }
public void addMessageDestinationReferenceDescriptor (MessageDestinationReferenceDescriptor messageDestRef) { messageDestRef.setReferringBundleDescriptor(this); this.getMessageDestinationReferenceDescriptors().add(messageDestRef); }
/** * Looks up an message destination reference with the given name. * Throws an IllegalArgumentException if it is not found. */ public MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name) { for (Iterator itr = this.getMessageDestinationReferenceDescriptors().iterator(); itr.hasNext();) { MessageDestinationReferenceDescriptor mdr = (MessageDestinationReferenceDescriptor) itr.next(); if (mdr.getName().equals(name)) { return mdr; } } throw new IllegalArgumentException(localStrings.getLocalString( "exceptionappclienthasnomsgdestrefbyname", "This application client [{0}] has no message destination reference by the name of [{1}]", new Object[] {getName(), name})); }
/** * Looks up an message destination reference with the given name. * Throws an IllegalArgumentException if it is not found. */ public MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name) { for (Iterator itr = this.getMessageDestinationReferenceDescriptors().iterator(); itr.hasNext();) { MessageDestinationReferenceDescriptor mdr = (MessageDestinationReferenceDescriptor) itr.next(); if (mdr.getName().equals(name)) { return mdr; } } throw new IllegalArgumentException(localStrings.getLocalString( "exceptionappclienthasnomsgdestrefbyname", "This application client [{0}] has no message destination reference by the name of [{1}]", new Object[] {getName(), name})); }
Set msgDestRefs = getMessageDestinationReferenceDescriptors(); for (Iterator itr = msgDestRefs.iterator();itr.hasNext();) { aVisitor.accept((MessageDestinationReferencer) itr.next());
writeMessageDestinationRefDescriptors(appclientNode, appclientDesc.getMessageDestinationReferenceDescriptors().iterator());
writeMessageDestinationRefDescriptors(appclientNode, appclientDesc.getMessageDestinationReferenceDescriptors().iterator());