Package org.strecks.injection.factory

Examples of org.strecks.injection.factory.InjectionHandlerFactory


        if (factoryClass != null)
        {

          hasFactory = true;
          InjectionHandlerFactory factory = ReflectHelper.createInstance(factoryClass.value(),
              InjectionHandlerFactory.class);
         
          if (wrapper == null)
          {
            InjectionSetter inputSetter = createSetter(actionClass, m);
            PropertyDescriptor propertyDescriptor = BeanUtils.findPropertyForMethod(m);
           
            if (propertyDescriptor == null)
            {
              throw new ApplicationConfigurationException("Method " + m.getName() + " has no valid property descriptor. Is this a valid property");
            }
           
            wrapper = new InjectionWrapper(inputSetter, propertyDescriptor);
          }
          InjectionHandler handler = factory.createInjectionHandler(annotation, actionClass, wrapper
              .getPropertyDescriptor());
          wrapper.addHandler(handler);

        }
View Full Code Here

TOP

Related Classes of org.strecks.injection.factory.InjectionHandlerFactory

Copyright © 2018 www.massapicom. 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.