[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-110) Code Review and Action Items on ExtensionLoader/ServiceExtensionLoader

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Dec 23 20:33:30 EST 2009


Code Review and Action Items on ExtensionLoader/ServiceExtensionLoader
----------------------------------------------------------------------

                 Key: SHRINKWRAP-110
                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-110
             Project: ShrinkWrap
          Issue Type: Task
          Components: api, impl-base
            Reporter: Andrew Lee Rubinger


We should do a community review on the ExtensionLoader API and ServiceExtensionLoader implementation.  This is the mechanism used to power Assignable.as();

* Archives API should not expose extension loading configuration (SHRINKWRAP-102)
* ServiceExtensionLoader needs documentation at class-level and on methods
* ServiceExtensionLoader is not Thread-safe (or documented that this is the responsibility of the client, ArchiveBase, which does not sync access)
* OK to always use TCCL at time of instantiation to find extension impls and classes?
* ServiceExtensionLoader instance needs to be carried in the state of every archive?  Should some Assignable types be given access to different service extension loaders?  To me this looks like a singular point of configuration possibly warranting use of a Singleton.
* All extension loading as a feature needs Wiki documentation

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

        


More information about the shrinkwrap-issues mailing list