Class ThreadScopeConfiguration
java.lang.Object
ch.tocco.nice2.boot.impl.spring.ThreadScopeConfiguration
- All Implemented Interfaces:
ThreadHandler, org.springframework.beans.factory.config.Scope
@Component
public class ThreadScopeConfiguration
extends Object
implements org.springframework.beans.factory.config.Scope, ThreadHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidbooleanvoidregisterDestructionCallback(String name, Runnable callback) void
-
Constructor Details
-
ThreadScopeConfiguration
public ThreadScopeConfiguration()
-
-
Method Details
-
setupThread
public void setupThread()- Specified by:
setupThreadin interfaceThreadHandler
-
cleanupThread
public void cleanupThread()- Specified by:
cleanupThreadin interfaceThreadHandler
-
createNewScope
public void createNewScope() -
hasActiveScope
public boolean hasActiveScope() -
clearCurrentScope
public void clearCurrentScope() -
get
-
remove
-
registerDestructionCallback
-
resolveContextualObject
-
getConversationId
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-