bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/ApplicationManagement.java
private <T extends ServiceType> Binding getBinding(String nameAttribute, T parent) {
		Bindings bindings = parent.getBindings();
		
		if (bindings != null) {
			for (Binding binding : bindings.getBinding()) {
				if (binding.getName().equals(nameAttribute)) {
					return binding;
				}
			}
		} else {
			bindings = new Bindings();
			parent.setBindings(bindings);
		}
		
		// create new Binding
		Binding binding = new Binding();
		binding.setName(nameAttribute);
		Product p = new Product();
		p.setType("bwengine");
		p.setLocation("");
		p.setVersion("");
		binding.setProduct(p);
		binding.setDescription("");
		binding.setContact("");
		Shutdown s = new Shutdown();
		s.setCheckpoint(false);
		s.setTimeout(new BigInteger("0"));
		binding.setShutdown(s);
		
		bindings.getBinding().add(binding);
		
		return binding;
	}
private <T extends ServiceType> Binding getBinding(String nameAttribute, T parent) {
		Bindings bindings = parent.getBindings();
		
		if (bindings != null) {
			for (Binding binding : bindings.getBinding()) {
				if (binding.getName().equals(nameAttribute)) {
					return binding;
				}
			}
		} else {
			bindings = new Bindings();
			parent.setBindings(bindings);
		}
		
		// create new Binding
		Binding binding = new Binding();
		binding.setName(nameAttribute);
		Product p = new Product();
		p.setType("bwengine");
		p.setLocation("");
		p.setVersion("");
		binding.setProduct(p);
		binding.setDescription("");
		binding.setContact("");
		Shutdown s = new Shutdown();
		s.setCheckpoint(false);
		s.setTimeout(new BigInteger("0"));
		binding.setShutdown(s);
		
		bindings.getBinding().add(binding);
		
		return binding;
	}
/application/services/bw/bindings/binding
/application/services/adapter/bindings/binding