org.zkoss.spring.web.context.request
Class DesktopScope

java.lang.Object
  extended by org.zkoss.spring.web.context.request.DesktopScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope

public class DesktopScope
extends java.lang.Object
implements org.springframework.beans.factory.config.Scope

ZK Desktop scope; accessible only in ZK event handling request.

Since:
1.2
Author:
henrichen

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

Constructor Detail

DesktopScope

public DesktopScope()
Method Detail

get

public java.lang.Object get(java.lang.String name,
                            org.springframework.beans.factory.ObjectFactory<?> objectFactory)
Specified by:
get in interface org.springframework.beans.factory.config.Scope

getConversationId

public java.lang.String getConversationId()
Specified by:
getConversationId in interface org.springframework.beans.factory.config.Scope

registerDestructionCallback

public void registerDestructionCallback(java.lang.String name,
                                        java.lang.Runnable callback)
Specified by:
registerDestructionCallback in interface org.springframework.beans.factory.config.Scope

remove

public java.lang.Object remove(java.lang.String name)
Specified by:
remove in interface org.springframework.beans.factory.config.Scope

resolveContextualObject

public java.lang.Object resolveContextualObject(java.lang.String key)
Specified by:
resolveContextualObject in interface org.springframework.beans.factory.config.Scope


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.