You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/07 14:48:28 UTC

DO NOT REPLY [Bug 17770] New: - [PATCH] AdaptorRegistry

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17770

[PATCH] AdaptorRegistry

           Summary: [PATCH] AdaptorRegistry
           Product: Commons
           Version: 1.0 Alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hlship@attbi.com


A while back, I discussed the AdaptorRegistry used throughout Tapestry.

Think of it as a "smart Map", that connects arbitrary objects to a "best-fit" 
adaptor by doing a search based on inheritance and implemented interfaces.

I've created a patch from the jakarta-commons/lang/src.

This patch adds the org.apache.commons.lang.util.AdaptorRegistry (torn out of 
Tapestry), plus a test suite.  

I've run the entire commons-lang test suite succesfully.

Please get back to me if you decide to add this to commons-lang.  I think it 
is a good fit.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org