Examples of SmooksResourceConfiguration


Examples of org.milyn.cdr.SmooksResourceConfiguration

            return;
        }
        processed = true;

        // Add the create bean visitor...
        SmooksResourceConfiguration creatorConfig = visitorMap.addVisitor(beanInstanceCreator, createOnElement, targetNamespace, true);
        creatorConfig.setParameter("beanId", getBeanId());
        creatorConfig.setParameter("beanClass", beanClass.getName());

        // Recurse down the wired beans...
        for(Bean bean : wirings) {
            bean.addVisitors(visitorMap);
        }

        // Add the populate bean visitors...
        for(Binding binding : bindings) {
            SmooksResourceConfiguration populatorConfig = visitorMap.addVisitor(binding.beanInstancePopulator, binding.selector, targetNamespace, true);
            populatorConfig.setParameter("beanId", getBeanId());
            if(binding.assertTargetIsCollection) {
                assertBeanClassIsCollection();
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.