The "org.jboss.varia.property.SystemPropertiesService" is not available in WildFly but you can use the properties file and pass it to your container as following:
./standalone.sh -P ../test.properties
You can also use the CLI command to configure individual system properties:
[standalone@localhost:9999 /] /system-property=foo:add(value=bar)
One more option is to add your property file as a module in WildFly .
You can get many example for this on forums.
Have a look.
Best way to handle the properties is provide in this location please read through it is as simple as setting up a modules
create a new module.xml as below
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.3" name="props-config">
Create a file path
Drop the module.xml
instead of properties folder you can use current folder as well.
Go to Section "Modify the Resource Packaging"
I hope this helps
Thanks Sanjay. I will try this approach as well.