org.apache.shale.view.faces
Class ViewControllerCallbacks

java.lang.Object
  extended by org.apache.shale.view.faces.ViewControllerCallbacks

public class ViewControllerCallbacks
extends Object

Utility class to perform the event callbacks specified by the ViewController interface. The method signatures make it possible to specialize the behavior for annotated callbacks in the Shale Tiger Extensions module.

Since:
1.0.1 $Id: ViewControllerCallbacks.java 464373 2006-10-16 04:21:54Z rahul $

Constructor Summary
ViewControllerCallbacks()
           
 
Method Summary
protected  void handleException(javax.faces.context.FacesContext context, Exception exception)
          Handle the specified exception according to the strategy defined by our current ExceptionHandler.
 void preprocess(Object instance)
          Perform the preprocess callback on the specified instance.
 void prerender(Object instance)
          Perform the prerender callback on the specified instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewControllerCallbacks

public ViewControllerCallbacks()
Method Detail

preprocess

public void preprocess(Object instance)

Perform the preprocess callback on the specified instance.

Parameters:
instance - Bean instance on which to perform this callback

prerender

public void prerender(Object instance)

Perform the prerender callback on the specified instance.

Parameters:
instance - Bean instance on which to perform this callback

handleException

protected void handleException(javax.faces.context.FacesContext context,
                               Exception exception)

Handle the specified exception according to the strategy defined by our current ExceptionHandler.

Parameters:
context - FacesContext for the current request
exception - Exception to be handled


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