[ 
https://issues.apache.org/jira/browse/PORTLETBRIDGE-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008752#comment-13008752
 ] 

Neil Griffin edited comment on PORTLETBRIDGE-189 at 3/30/11 11:38 AM:
----------------------------------------------------------------------

Factory discovery by the implementation should support the following syntax in 
any META-INF/faces-config.xml in the classpath, or WEB-INF/faces-config.xml in 
the WAR:


        <factory>
                <factory-extension>
                        <bridge:bridge-factory>FQCN</bridge:bridge-factory>
                        
<bridge:bridge-context-factory>FQCN</bridge:bridge-context-factory>
                        
<bridge:bridge-navigation-handler-factory>FQCN</bridge:bridge-navigation-handler-factory>
                        
<bridge:bridge-request-scope-factory>FQCN</bridge:bridge-request-scope-factory>
                        
<bridge:bridge-request-scope-manager-factory>FQCN</bridge:bridge-request-scope-manager-factory>
                        
<bridge:portlet-container-adapter-factory>FQCN</bridge:portlet-container-adapter-factory>
                </factory-extension>
        </factory>


      was (Author: ngriffin7a):
    Factory discovery by the implementation should support the following syntax 
in any META-INF/faces-config.xml in the classpath, or WEB-INF/faces-config.xml 
in the WAR:


        <factory>
                <factory-extension>
                        <bridge:bridge-factory>FQCN</bridge:bridge-factory>
                        
<bridge:bridge-context-factory>FQCN</bridge:bridge-context-factory>
                        
<bridge:bridge-navigation-handler-factory>FQCN</bridge:bridge-navigation-handler-factory>
                        
<bridge:bridge-request-scope-factory>FQCN</bridge:bridge-request-scope-factory>
                        
<bridge:bridge-scope-manager-factory>FQCN</bridge:bridge-scope-manager-factory>
                        
<bridge:portlet-container-adapter-factory>FQCN</bridge:portlet-container-adapter-factory>
                </factory-extension>
        </factory>

  
> Proposal for 3.0 API: javax.portlet.faces.BridgeFactoryFinder
> -------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-189
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-189
>             Project: MyFaces Portlet Bridge
>          Issue Type: New Feature
>          Components: General
>    Affects Versions: 3.0.0
>            Reporter: Neil Griffin
>            Assignee: Michael Freedman
>
> Discussion of *which* factories can be done in other issues, but I wanted to 
> discuss the idea of having a BridgeFactoryFinder in this issue.
> In order to make the bridge more extensible, I would propose a 
> javax.portlet.faces.BridgeFactoryFinder based on the same idea found in Faces:
> http://javaserverfaces.java.net/nonav/docs/2.0/javadocs/javax/faces/FactoryFinder.html
> For a prototype of this idea, please refer to the following class in the 
> PortletFaces Bridge trunk:
> http://svn.portletfaces.org/svn/portletfaces/bridge/portletfaces-bridge-api/trunk/src/main/java/org/portletfaces/bridge/BridgeFactoryFinder.java

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to