Add profile-refresh to the Java and JMX APIs