| | |
| | | import org.forgerock.opendj.ldap.ResultCode; |
| | | import org.forgerock.opendj.ldap.SearchScope; |
| | | import org.forgerock.opendj.ldap.schema.AttributeType; |
| | | import org.forgerock.opendj.ldap.schema.ObjectClass; |
| | | import org.forgerock.opendj.server.config.server.BackendCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.controls.PagedResultsControl; |
| | |
| | | import org.opends.server.core.ModifyOperation; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.core.ServerContext; |
| | | import org.opends.server.schema.ServerSchemaElement; |
| | | import org.opends.server.types.BackupConfig; |
| | | import org.opends.server.types.BackupDirectory; |
| | | import org.opends.server.types.DirectoryException; |
| | |
| | | import org.opends.server.types.LDIFExportConfig; |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.LDIFImportResult; |
| | | import org.forgerock.opendj.ldap.schema.ObjectClass; |
| | | import org.opends.server.types.RestoreConfig; |
| | | import org.opends.server.util.CollectionUtils; |
| | | import org.opends.server.util.LDIFException; |
| | |
| | | String nulOCName = "nullbackendobject"; |
| | | ObjectClass nulOC = DirectoryServer.getObjectClass(nulOCName); |
| | | try { |
| | | DirectoryServer.getSchema().registerObjectClass(nulOC, false); |
| | | DirectoryServer.getSchema().registerObjectClass(nulOC, new ServerSchemaElement(nulOC).getSchemaFile(), false); |
| | | } catch (DirectoryException de) { |
| | | logger.traceException(de); |
| | | throw new InitializationException(de.getMessageObject()); |