You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Kaloyan Spiridonov <k....@gmail.com> on 2017/06/22 12:04:59 UTC

Disable binding of BeanManager to the app contex

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

Re: Disable binding of BeanManager to the app contex

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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" <k....@gmail.com> 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
>