/** * Iterates the list of arguments in search of the Server's GemFire member name. If the argument * does not start with '-' or is not the name of a Server launcher command, then the value is * presumed to be the member name for the Server in GemFire. * * @param args the array of arguments from which to search for the Server's member name in * GemFire. * @see org.apache.geode.distributed.ServerLauncher.Command#isCommand(String) * @see #parseArguments(String...) */ protected void parseMemberName(final String... args) { if (args != null) { for (String arg : args) { if (!(arg.startsWith(OPTION_PREFIX) || Command.isCommand(arg))) { setMemberName(arg); break; } } } }