[
http://jira.jboss.com/jira/browse/RF-995?page=comments#action_12378201 ]
Chris Rudd commented on RF-995:
-------------------------------
It looks like the code is partially setup to do construction similar to how JSF does its
implemenation overriding, but it appears to be incomplete.
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
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