private String getServerId ( ) { UUID fullServerId = null ; WsLocationAdmin locationService = this . wsLocationAdmin ; if ( locationService != null ) { fullServerId = locationService . getServerId ( ) ; } if ( fullServerId == null ) { fullServerId = UUID . randomUUID ( ) ; // shouldn't get here, but be careful just in case } return fullServerId . toString ( ) . toLowerCase ( ) ; // clone IDs need to be in lower case for consistency with tWAS }
Derives a unique identifier for the current server . The result of this method is used to create a cloneId .