* get list of cluster instance names from the
* property "cluster_members" in <availability-service>
*/
ArrayList getClusterInstanceNamesList() {
ArrayList instanceNames = new ArrayList();
ServerConfigLookup lookup = new ServerConfigLookup();
String instanceNamesString =
lookup.getAvailabilityServicePropertyString(CLUSTER_MEMBERS);
if(instanceNamesString == null) {
return instanceNames;
}
String[] instancesArray = instanceNamesString.split(",");
List instancesList = Arrays.asList(instancesArray);