[weld-dev] Workaround for error code : WELD-001435
Ales Justin
ales.justin at gmail.com
Wed Sep 26 05:05:20 EDT 2012
> Wonder if the marker mentioned in
>
> https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/util/reflection/instantiation/AbstractInstantiatorFactory.java
>
> does anything? Or perhaps the deployment stops at a validation phase before it gets that far...
Both - validation and instantiation - use the same mechanism, this InstantiatorFactory.
It was just re-writen a bit, to be per app, not per whole Weld.
So, if IF knows how to instantiate w/ arg ctor, you should be fine.
-Ales
> On Wed, Sep 26, 2012 at 10:39 AM, Charles Moulliard <cmoullia at redhat.com> wrote:
> Hi.
>
> Is there a workaround to avoid to add a non args constructor in an abstract class when we get this error "WELD-001435 Normal scoped bean class org.apache.camel.builder.BuilderSupport is not proxyable because it has no no-args constructor " ?
>
> Regards,
>
> --
> Ir. Charles Moulliard
> Sr. Enterprise Architect | RedHat, Inc
> cmoullia at redhat.com | mobile: +32 473 604 014 | RedHat.com
> skype: cmoulliard | twitter: @cmoulliard
> blog: cmoulliard.blogspot.com
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>
>
>
> --
> ---
> Nik
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20120926/34d5d309/attachment.html
More information about the weld-dev
mailing list