org.granite.client.tide.spring
Class ViewScope

java.lang.Object
  extended by org.granite.client.tide.spring.ViewScope
All Implemented Interfaces:
Scope

public class ViewScope
extends Object
implements Scope

Author:
William DRAI

Constructor Summary
ViewScope()
           
 
Method Summary
 Object get(String name, ObjectFactory<?> objectFactory)
           
 String getConversationId()
           
 void registerDestructionCallback(String name, Runnable callback)
           
 Object remove(String name)
           
 Object resolveContextualObject(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewScope

public ViewScope()
Method Detail

getConversationId

public String getConversationId()
Specified by:
getConversationId in interface Scope

get

public Object get(String name,
                  ObjectFactory<?> objectFactory)
Specified by:
get in interface Scope

resolveContextualObject

public Object resolveContextualObject(String name)
Specified by:
resolveContextualObject in interface Scope

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback)
Specified by:
registerDestructionCallback in interface Scope

remove

public Object remove(String name)
Specified by:
remove in interface Scope