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.
Constructor and Description |
---|
ViewControllerCallbacks() |
Modifier and Type | Method and Description |
---|---|
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. |
public void preprocess(Object instance)
Perform the preprocess
callback on the specified
instance.
instance
- Bean instance on which to perform this callbackpublic void prerender(Object instance)
Perform the prerender
callback on the specified
instance.
instance
- Bean instance on which to perform this callbackprotected void handleException(javax.faces.context.FacesContext context, Exception exception)
Handle the specified exception according to the strategy
defined by our current ExceptionHandler
.
context
- FacesContext for the current requestexception
- Exception to be handledCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.