org.apache.shale.tiger.view.faces
Class ViewControllerCallbacks2

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

public class ViewControllerCallbacks2
extends org.apache.shale.view.faces.ViewControllerCallbacks

Utility class to perform the event callbacks specified by the ViewController interface. This version will call through to ViewController methods if the bean class actually implements this interface, or ituses annotations to identify the relevant methods.

NOTE - The annotated callback methods must be public, and take no arguments. They may exist on the class of the instance being passed in, or be inherited from a superclass.

$Id: ViewControllerCallbacks2.java 465074 2006-10-17 22:05:53Z rahul $

Since:
1.0.1

Constructor Summary
ViewControllerCallbacks2()
           
 
Method Summary
 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 org.apache.shale.view.faces.ViewControllerCallbacks
handleException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewControllerCallbacks2

public ViewControllerCallbacks2()
Method Detail

preprocess

public void preprocess(Object instance)

Perform the preprocess callback on the specified instance.

Overrides:
preprocess in class org.apache.shale.view.faces.ViewControllerCallbacks
Parameters:
instance - Bean instance on which to perform this callback

prerender

public void prerender(Object instance)

Perform the prerender callback on the specified instance.

Overrides:
prerender in class org.apache.shale.view.faces.ViewControllerCallbacks
Parameters:
instance - Bean instance on which to perform this callback


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