| | |
| | | import org.opends.server.api.AlertGenerator; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ConnectionHandler; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | |
| | | public void initializeConnectionHandler(LDIFConnectionHandlerCfg |
| | | configuration) |
| | | { |
| | | ldifDirectory = new File(configuration.getLDIFDirectory()); |
| | | String ldifDirectoryPath = configuration.getLDIFDirectory(); |
| | | ldifDirectory = new File(ldifDirectoryPath); |
| | | |
| | | // If we have a relative path to the instance, get the absolute one. |
| | | if ( ! ldifDirectory.isAbsolute() ) { |
| | | ldifDirectory = new File(DirectoryServer.getServerRoot() + File.separator |
| | | + ldifDirectoryPath); |
| | | } |
| | | |
| | | if (ldifDirectory.exists()) |
| | | { |