org.apache.shale.view
Interface ViewControllerMapper

All Known Implementing Classes:
DefaultViewControllerMapper

public interface ViewControllerMapper

ViewControllerMapper is an interface describing a pluggable mechanism to map between a JavaServer Faces view identifier and the name of a corresponding managed bean that serves as the backing bean for this view. If the managed bean class implements ViewController, the services described in that interface will be provided by Shale.

$Id: ViewControllerMapper.java 419431 2006-07-06 04:38:39Z wsmoak $


Method Summary
 String mapViewId(String viewId)
          Return the name of the managed bean that serves as the backing bean for the specified view identifier.
 

Method Detail

mapViewId

String mapViewId(String viewId)

Return the name of the managed bean that serves as the backing bean for the specified view identifier. If no such managed bean name can be determined, return null.

Parameters:
viewId - View identifier for which to identify a backing bean


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.