[weld-dev] Workaround for error code : WELD-001435

Charles Moulliard cmoullia at redhat.com
Wed Sep 26 07:03:28 EDT 2012


Hi Ales,

Can you explain a little bit please as I don't understand what you 
exactly suggest to do ?

Regards,

Ir. Charles Moulliard
Sr. Enterprise Architect | RedHat, Inc
cmoullia at redhat.com | mobile: +32 473 604 014 | RedHat.com 
<http://www.redhat.com>
skype: cmoulliard | twitter: @cmoulliard
blog: cmoulliard.blogspot.com <http://cmoulliard.blogspot.com>
On 26/09/12 11:05, Ales Justin wrote:
>> 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 <mailto: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 <mailto:cmoullia at redhat.com> | mobile: +32
>>     473 604 014 <tel:%2B32%20473%20604%20014> | RedHat.com
>>     <http://www.redhat.com/>
>>     skype: cmoulliard | twitter: @cmoulliard
>>     blog: cmoulliard.blogspot.com <http://cmoulliard.blogspot.com/>
>>
>>     _______________________________________________
>>     weld-dev mailing list
>>     weld-dev at lists.jboss.org <mailto: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 <mailto:weld-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/weld-dev
>
>
>
> _______________________________________________
> 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/30553186/attachment.html 


More information about the weld-dev mailing list