| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.api.MonitorProvider; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.AddOperation; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | ServerSocket socket = TestCaseUtils.bindFreePort(); |
| | | replServerPort = socket.getLocalPort(); |
| | | socket.close(); |
| | | |
| | | |
| | | // Change log |
| | | String replServerLdif = |
| | | "dn: cn=Replication Server, " + synchroPluginStringDN + "\n" |
| | |
| | | } |
| | | } |
| | | |
| | | private class Monitor extends MonitorProvider |
| | | private class Monitor extends MonitorProvider<MonitorProviderCfg> |
| | | { |
| | | protected Monitor(String threadName) |
| | | { |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void initializeMonitorProvider(ConfigEntry configEntry) |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // nothing to do |