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 464373 2006-10-16 04:21:54Z rahul $


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-2007 Apache Software Foundation. All Rights Reserved.