| | |
| | | /** |
| | | * Set the serviceId (usually baseDn) for this handler. Expected to be done |
| | | * once and never changed during the handler life. |
| | | * @param serviceId The provided serviceId. |
| | | * |
| | | * @param serviceId The provided serviceId. |
| | | * @param isDataServer The handler is a dataServer |
| | | * |
| | | * @exception DirectoryException raised when a problem occurs. |
| | | */ |
| | | protected void setServiceIdAndDomain(String serviceId) |
| | | protected void setServiceIdAndDomain(String serviceId, boolean isDataServer) |
| | | throws DirectoryException |
| | | { |
| | | if (this.serviceId != null) |
| | |
| | | else |
| | | { |
| | | this.serviceId = serviceId; |
| | | this.replicationServerDomain = getDomain(true); |
| | | this.replicationServerDomain = getDomain(true, isDataServer); |
| | | } |
| | | } |
| | | |