Javadoc
starts and returns the GMS module object as a Runnable that
could be started in a separate thread. This method is only used to
create an instance of GroupManagementService and sets up the configuration
properties in appropriate delegate objects.
To actually create a group or join an existing group, one has to either
pass in the GroupManagementService Object in a new Thread and start it or
call the GroupManagementService.join() method.
The startGMSModule method is expected to be called by the parent
module's lifecycle management code to initiate GMS module. Invocation of
this method assumes that GMS is enabled in the parent application's
configuration.
Calls to GMSFactory.getGMSModule() made before any code calls this method
will result in GMSNotEnabledException to be thrown.