| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package com.sun.opends.sdk.tools; |
| | |
| | | sr.setFilter(String.format(filter, data)); |
| | | sr.setName(String.format(baseDN, data)); |
| | | } |
| | | return connection.search(sr, handler, handler); |
| | | return connection.search(sr, handler); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | try |
| | | { |
| | | if(System.getProperty("org.opends.sdk.ldap.transport.linger") == null) |
| | | { |
| | | System.setProperty("org.opends.sdk.ldap.transport.linger", "0"); |
| | | } |
| | | connectionFactory = new ArgumentParserConnectionFactory(argParser, this); |
| | | runner = new SearchPerformanceRunner(argParser, this); |
| | | |