dev@glassfish.java.net

Re: global setting

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Thu, 04 Apr 2013 14:14:06 -0700

What behavior does this setting control? Who would be setting it when?

JJ Snyder wrote on 04/04/2013 07:54 AM:
> I need a way to set a global option for CDI. My plan is to use a system
> property defined in domain.xml like:
>
> <system-property description="Disable Implicit CDI." name="DISABLE_IMPLICIT_CDI"
> value="false"></system-property>
>
> Is this the preferred method for global configuration? If so which "<config>"
> element does this belong under?
> <config name="server-config">
> <config name="default-config">
>
> I assume it's under "server-config"...
>
>
> There is no other CDI configuration planned at this time.
>
> thanks,
> JJ