dev@glassfish.java.net

global setting

From: JJ Snyder <j.j.snyder_at_oracle.com>
Date: Thu, 04 Apr 2013 10:54:07 -0400

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