Package org.apache.tapestry.enhance

Examples of org.apache.tapestry.enhance.AbstractPropertyWorker


    private ComponentConstructor createComponentConstructor(Class inputClass)
    {
        if (inputClass.isInterface() || inputClass.isPrimitive() || inputClass.isArray())
            throw new IllegalArgumentException(ScriptMessages.wrongTypeForEnhancement(inputClass));

        AbstractPropertyWorker w = new AbstractPropertyWorker();

        w.setErrorLog(new ErrorLogImpl(new DefaultErrorHandler(), LOG));

        EnhancementOperationImpl op = new EnhancementOperationImpl(_classResolver,
                new ComponentSpecification(), inputClass, _classFactory);

        w.performEnhancement(op, null);

        return op.getConstructor();
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.enhance.AbstractPropertyWorker

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.