/** * Adds an environment property to this application client [{0}]. */ public void addEnvironmentProperty(EnvironmentProperty environmentProperty) { this.getEnvironmentProperties().add(environmentProperty); }
/** * Remove the given environment property */ public void removeEnvironmentProperty(EnvironmentProperty environmentProperty) { this.getEnvironmentProperties().remove(environmentProperty); }
/** * Adds an environment property to this application client [{0}]. */ public void addEnvironmentProperty(EnvironmentProperty environmentProperty) { this.getEnvironmentProperties().add(environmentProperty); }
/** * Remove the given environment property */ public void removeEnvironmentProperty(EnvironmentProperty environmentProperty) { this.getEnvironmentProperties().remove(environmentProperty); }
/** * Returns the environment property object searching on the supplied key. * throws an illegal argument exception if no such environment property exists. */ public EnvironmentProperty getEnvironmentPropertyByName(String name) { for (Iterator itr = this.getEnvironmentProperties().iterator(); itr.hasNext();) { EnvironmentProperty ev = (EnvironmentProperty) itr.next(); if (ev.getName().equals(name)) { return ev; } } throw new IllegalArgumentException(localStrings.getLocalString( "enterprise.deployment.exceptionappclienthasnoenvpropertybyname", "This application client [{0}] has no environment property by the name of [{1}]", new Object[] {getName(), name})); }
/** * Returns the environment property object searching on the supplied key. * throws an illegal argument exception if no such environment property exists. */ public EnvironmentProperty getEnvironmentPropertyByName(String name) { for (Iterator itr = this.getEnvironmentProperties().iterator(); itr.hasNext();) { EnvironmentProperty ev = (EnvironmentProperty) itr.next(); if (ev.getName().equals(name)) { return ev; } } throw new IllegalArgumentException(localStrings.getLocalString( "enterprise.deployment.exceptionappclienthasnoenvpropertybyname", "This application client [{0}] has no environment property by the name of [{1}]", new Object[] {getName(), name})); }
writeEnvEntryDescriptors(appclientNode, appclientDesc.getEnvironmentProperties().iterator());
writeEnvEntryDescriptors(appclientNode, appclientDesc.getEnvironmentProperties().iterator());