[richfaces-issues] [JBoss JIRA] Assigned: (RF-995) SkinFactory cannot be overriden reliably.

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Oct 29 10:31:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-995?page=all ]

Nick Belaevski reassigned RF-995:
---------------------------------

    Assignee: Maksim Kaszynski  (was: Alexander Smirnov)

> SkinFactory cannot be overriden reliably.
> -----------------------------------------
>
>                 Key: RF-995
>                 URL: http://jira.jboss.com/jira/browse/RF-995
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Chris Rudd
>         Assigned To: Maksim Kaszynski
>             Fix For: 3.2.0
>
>
> Prior to 3.1.0 the default SkinFactory could be replaced by specifing the implementation class in the resource : META-INF/services/org.richfaces.skin.SkinFactory
> As of 3.1.0 there is no "default" implementation, and the richfaces-impl.jar now defines the resource inorder to specify the implementation. 
> This causes a problem when attempting to override the implemenation, as resources are found in whatever order the jars are in the classpath. There is no reliable way to ensure that the resource located in the jar providing the overriding implementation appears first (before the richfaces-impl).
> I would suggest reserving the service file for the ability to override the default implementation, and introduce a new file to define the default implementation, or reference the default implemenation by name (to prevent the hard reference)
>  

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

        



More information about the richfaces-issues mailing list