org.viewaframework.view.delegator
Class ViewContainerControllerDelegator

java.lang.Object
  extended by org.viewaframework.view.delegator.ViewContainerControllerDelegator
All Implemented Interfaces:
Delegator

public class ViewContainerControllerDelegator
extends Object
implements Delegator

This is the default implementation for a ViewContainerControllerDelegator. It injects the given controllers to the view when the view is initialized and it removes the controllers from the view once the viewClose method from the view has been called.

Since:
1.0
Author:
Mario Garcia

Constructor Summary
ViewContainerControllerDelegator()
           
 
Method Summary
 void clean(ViewContainer view)
           
 void inject(ViewContainer view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewContainerControllerDelegator

public ViewContainerControllerDelegator()
Method Detail

clean

public void clean(ViewContainer view)
           throws ViewException
Specified by:
clean in interface Delegator
Throws:
ViewException

inject

public void inject(ViewContainer view)
            throws ViewException
Specified by:
inject in interface Delegator
Throws:
ViewException


Copyright © 2010. All Rights Reserved.