Package pl.morgwai.base.guice.scopes
Classes for building Guice scopes, that get automatically transferred when dispatching work to
other threads.
- See Also:
- project homepage
-
Class Summary Class Description ContextScope<CtxT extends ServerSideContext<CtxT>> Scopes objects to a call context obtained from the associatedContextTracker
.ContextTracker<CtxT extends ServerSideContext<CtxT>> Allows to track which server-side call is handled by which thread.ContextTrackingExecutor An executor that automatically updates which thread runs within whichServerSideContext
when executing a task.ContextTrackingExecutor.NamedThreadFactory A thread factory that names new threads based on its own name.ServerSideContext<CtxT extends ServerSideContext<CtxT>> Stores attributes associated with some server-side processing/call (such as a servlet request processing, an RPC or a session combining several received calls) and allows to execute operations within itself.