You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/04/29 20:13:53 UTC
[jira] Commented: (DIRRMS-42) Reconsider ref to ApplicationFactory in the JeRoleBinding
The following comment has been added to this issue:
Author: Alex Karasulu
Created: Thu, 29 Apr 2004 11:12 AM
Body:
This has resulted in some serious chicken and egg type problems when building out the dao and factory objects in terms of dependencies. We need to do away with it.
The problem resulted here and not in the other providers because we extracted the RoleDAO interface from the RoleFactory incorrectly. The factory never needed a list() or listNames() where all the roles in the database were listed. We included this and created the problem where no Application instance was available.
The best way to resolve this issue would be to do away with the following methods on the RoleDAO interface:
o list()
o list(String)
o listNames()
o listNames(String)
And add the following methods instead:
o list(Application)
o listNames(String)
This will allow us to revert back to the use of the ThreadLocal mechanism and simplify the code somewhat not to mention rid our selves of this cyclic dependency issue.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/DIRRMS-42?page=comments#action_35324
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/DIRRMS-42
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DIRRMS-42
Summary: Reconsider ref to ApplicationFactory in the JeRoleBinding
Type: Task
Status: Open
Priority: Major
Project: Directory RMS
Components:
Berkeley JE
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Created: Wed, 28 Apr 2004 2:51 PM
Updated: Thu, 29 Apr 2004 11:12 AM
Description:
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira