org.springframework.config.java
Class CustomScope
java.lang.Object
org.springframework.config.java.CustomScope
- All Implemented Interfaces:
- Scope
public class CustomScope
- extends Object
- implements Scope
Simple scope implementation which creates object based on a flag.
- Author:
- Costin Leau, Chris Beams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createNewScope
public boolean createNewScope
CustomScope
public CustomScope()
get
public Object get(String name,
ObjectFactory objectFactory)
- Specified by:
get
in interface Scope
getConversationId
public String getConversationId()
- Specified by:
getConversationId
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
Copyright ? 2005-2008 Spring Framework. All Rights Reserved.