Now I'm debating whether or not we should just use NameResolver instead of creating a new class which almost does the same thing. The implementer for 1729 can return 'this' from the getNameResolver function.

Jeanne Waldman wrote, On 3/3/2010 2:42 PM PT:
Hi,
While working on TRINIDAD-1729 provide a hook for for an external decorator of Skin InputStreamProvider, I realized that I need InputStreamProvider to be public. I created JIRA TRINIDAD-1746 for that. Now while working further on TRINIDAD-1729, I realized I need a way for the 'name' (css file name) to be passed in to the InputStreamProvider. To do this, I need a public API InputStreamProviderFactory that has a getProvider(name) method.
This is very similar to NameResolver, but it is simpler, it doesn't throw an exception, and it should suit our needs fine.

Let me know if you are ok with my adding the interface:
org.apache.myfaces.trinidadinternal.share.io.InputStreamProviderFactory
public InputStreamProvider getProvider(String name)

Thanks!

Jeanne






Reply via email to