You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <di...@incubator.apache.org> on 2005/09/14 17:04:54 UTC

[jira] Commented: (DIREVE-164) Refactor ExceptionService and move integrity check code to Database.

    [ http://issues.apache.org/jira/browse/DIREVE-164?page=comments#action_12329302 ] 

Trustin Lee commented on DIREVE-164:
------------------------------------

As we talked about this long before, It'd like make ExceptionService only concentrate on converting NamingExceptions into LdapNamingExceptions, and move context partition integrity checks into DefaultContextPartitionNexus or ContextPartition implementations.  What do you think?

> Refactor ExceptionService and move integrity check code to Database.
> --------------------------------------------------------------------
>
>          Key: DIREVE-164
>          URL: http://issues.apache.org/jira/browse/DIREVE-164
>      Project: Directory Server
>         Type: Improvement
>   Components: interceptors
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>      Fix For: 0.9.3

>
> The original duty of ExceptionService was to convert JNDI exceptions and other exceptions to LDAP exceptions, but now it is doing more than its duty; it is checking exsitance of entries, etc.
> So my idea is to move those integrity check code to Database implementation (or its abstract parent?)  We'll also need good documentation about how to implement Database.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira