Disable binding of BeanManager to the app contex

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Disable binding of BeanManager to the app contex

Kaloyan Spiridonov
Hello,

I want to disable binding of the BeanManager to the app context. After a
little debugging i saw that this can be disabled if openejb.cdi.activated
is set to false -
https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java#L1089
.
Where i should put the property to appear in appInfo.properties ?

Regards,
Kaloyan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Disable binding of BeanManager to the app contex

Romain Manni-Bucau
This is to set in application.properties but note it doesnt disable the bM
binding but it deactivate cdi completely.


Le 22 juin 2017 14:05, "Kaloyan Spiridonov" <[hidden email]> a
écrit :

> Hello,
>
> I want to disable binding of the BeanManager to the app context. After a
> little debugging i saw that this can be disabled if openejb.cdi.activated
> is set to false -
> https://github.com/apache/tomee/blob/master/container/
> openejb-core/src/main/java/org/apache/openejb/assembler/
> classic/Assembler.java#L1089
> .
> Where i should put the property to appear in appInfo.properties ?
>
> Regards,
> Kaloyan
>
Loading...