|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.view.faces.ViewControllerCallbacks
public class ViewControllerCallbacks
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 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 |
---|
public ViewControllerCallbacks()
Method Detail |
---|
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 handled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |