for (Element bindingElement : elements) {
String bindingClassName = XmlUtil.attribute(bindingElement, "class");
log.trace("adding wire binding for "+bindingClassName);
Binding binding = null;
if (bindingClassName!=null) {
try {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
Class<?> bindingClass = Class.forName(bindingClassName, true, classLoader);
binding = (Binding) bindingClass.newInstance();