I want to create an application-server-agnostic configuration service which provides common configuration values to our applications and services.
In JBoss I managed to do so using their Model Controller service; executing appropriate cli commands in order to obtain the values; host name, http port, https port, etc.
I see some of the Glassfish values are accessible as System properties in Glassfish, but still some important ones, like http port, https port, jms port, and clustering bind address are not.
Is there a service available at runtime which I can use to query such values ?