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/28 23:51:54 UTC
[jira] Created: (DIRRMS-42) Reconsider ref to ApplicationFactory in the JeRoleBinding
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Wed, 28 Apr 2004 2:51 PM
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
[jira] Commented: (DIRRMS-42) Reconsider ref to ApplicationFactory in the JeRoleBinding
Posted by ji...@apache.org.
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
[jira] Closed: (DIRRMS-42) Reconsider ref to ApplicationFactory in the JeRoleBinding
Posted by ji...@apache.org.
Message:
The following issue has been closed.
Resolver: Alex Karasulu
Date: Thu, 29 Apr 2004 3:17 PM
We reverted back to using the thread local and made the necessary changes to the DAO as were outlined in this task. The changes were commited on revision 10432.
---------------------------------------------------------------------
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: Closed
Priority: Major
Resolution: FIXED
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 3:17 PM
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