@Component(value="tapirThreadScope") public class ThreadScope extends Object implements org.springframework.beans.factory.config.Scope, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
ThreadScope() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory<?> factory)
Gets bean from scope.
|
String |
getConversationId() |
void |
registerDestructionCallback(String name,
Runnable callback) |
Object |
remove(String name)
Removes bean from scope.
|
Object |
resolveContextualObject(String key) |
public static final String NAME
public Object get(String name, org.springframework.beans.factory.ObjectFactory<?> factory)
get
in interface org.springframework.beans.factory.config.Scope
public Object remove(String name)
remove
in interface org.springframework.beans.factory.config.Scope
public void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback
in interface org.springframework.beans.factory.config.Scope
public Object resolveContextualObject(String key)
resolveContextualObject
in interface org.springframework.beans.factory.config.Scope
public String getConversationId()
getConversationId
in interface org.springframework.beans.factory.config.Scope
Copyright © 2018 b+m Informatik AG. All rights reserved.