https://jira.jboss.org/jira/browse/JBAS-6286, we should have management views for system properties. There are 3 levels of properties (at least):
- jvm properties that have to be passed to the jvm launcher
- system properties that need to be visible for use in bootstrap configurations
- system properties that need to be visible for deployments. This is loosely the deploy/properties-service.xml, but everything in deploy would have to depend on it to make this deployed in the correct order. Moving this deployment to an earlier phase also addresses the ordering issue.
Both the jvm properties and bootstrap configurations are executed before the profile service is loaded, so how that could be changed is a question.