Class ContextManagerAdapter

java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.legacy.ContextManagerAdapter
All Implemented Interfaces:
ContextManager

@Component public class ContextManagerAdapter extends Object implements ContextManager
Manages and creates Context instances. At most one Context can be bound to a thread at the same time. The 'current' session/context is defined by the SessionFactoryManager (which in turn uses the ManagedSessionContext to store the current session).