public GridServiceDescription lookup(String serviceDescriptionId) {
GridServiceDescription<WhitePages> wpGsd = getGsd();
InetSocketAddress[] sockets = (InetSocketAddress[]) ((Address) wpGsd.getAddresses().get( "socket" )).getObject();
CommandImpl cmd = new CommandImpl( "WhitePages.lookup",
Arrays.asList( new Object[]{serviceDescriptionId} ) );
ConversationManager convm = this.grid.get( ConversationManager.class );
GridServiceDescription gsd = (GridServiceDescription) sendMessage( convm,
sockets,
wpGsd.getId(),
cmd );
return (gsd == null) ? gsd : new GridServiceDescriptionClient( gsd,