com.sun.jsfcl.app
Class PageBeanMapperImpl

java.lang.Object
  extended by com.sun.jsfcl.app.PageBeanMapperImpl
All Implemented Interfaces:
PageBeanMapper

public class PageBeanMapperImpl
extends java.lang.Object
implements PageBeanMapper

Default implementation of PageBeanMapper that corresponds to the mapping performed by the IDE at design time. This implementation uses the following rules:


Constructor Summary
PageBeanMapperImpl()
           
 
Method Summary
 java.lang.String mapViewId(java.lang.String viewId)
          Map the specified view identifier (which will be the context relative path of a JSP page) to the managed bean name of the corresponding page bean (which must extend AbstractPageBean).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageBeanMapperImpl

public PageBeanMapperImpl()
Method Detail

mapViewId

public java.lang.String mapViewId(java.lang.String viewId)

Map the specified view identifier (which will be the context relative path of a JSP page) to the managed bean name of the corresponding page bean (which must extend AbstractPageBean).

Specified by:
mapViewId in interface PageBeanMapper
Parameters:
viewId - View identifier of the JSP page to be mapped