Package com.softwaremill.common.cdi.autofactory.extension.parameter.converter

Examples of com.softwaremill.common.cdi.autofactory.extension.parameter.converter.MixedConstructorConverter


    private ConstructorToParameterValuesConverter getConverter(AnnotatedConstructor<?> soleCreatedTypeConstructor,
                                                               MethodParameterIndexer methodParameterIndexer,
                                                               boolean constructorInjection) {
        if (constructorInjection) {
            return new MixedConstructorConverter(new QualifierAnnotationsFilter(beanManager),
                    soleCreatedTypeConstructor, methodParameterIndexer);
        } else {
            // If the constructor isn't annotated with @Inject, the no dependencies are injected, all parameters
            // are taken from the factory method.
            return new FactoryParameterOnlyConstructorConverter(soleCreatedTypeConstructor, methodParameterIndexer);
View Full Code Here

TOP

Related Classes of com.softwaremill.common.cdi.autofactory.extension.parameter.converter.MixedConstructorConverter

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.