Package tools.dynamia.zk.spring
Class DesktopScope
- java.lang.Object
-
- tools.dynamia.zk.spring.DesktopScope
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
public class DesktopScope extends 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
Constructors Constructor Description DesktopScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)StringgetConversationId()voidregisterDestructionCallback(String name, Runnable callback)Objectremove(String name)ObjectresolveContextualObject(String key)
-
-
-
Method Detail
-
get
public Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
- Specified by:
getin interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
public String getConversationId()
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
public void registerDestructionCallback(String name, Runnable callback)
- Specified by:
registerDestructionCallbackin interfaceorg.springframework.beans.factory.config.Scope
-
remove
public Object remove(String name)
- Specified by:
removein interfaceorg.springframework.beans.factory.config.Scope
-
-