WFLY-2482 Enable/disable statistics for JCA deployments