It is recommended that you check first the following article which will show you how to configure the management native interface on WildFly or JBoss EAP 7: How to use WildFly management API programmatically
This is a short article that discuses how to query WildFly resources using short do-it-yourself guide that will teach you how to monitor your WildFly / JBoss EAP 7 server resources using EJB 3 Timers and the JBoss DMR API.