com.jcorporate.expresso.core.registry |
|
Java Source File Name | Type | Comment |
ExpressoThread.java | Class | Provides a thread with an Expresso Thread Context already set for you.
If your architecture allows you to do it, then deriving from
ExpressoThread instead of Thread allows you to have
a predefined environment with a build RequestRegistry.
You create an ExpressoThread which takes a snapshot of the credentials
of the thread in which it was created. |
ExpressoThreadContext.java | Class | Thread context is closely tied with the RequestRegistry. |
ExpressoThreadTestModel.java | Class | Test model to verify Expresso Threads. |
MutableRequestRegistry.java | Class | This is the actual class that gets constructed during request initialization.
It uses its setters to create state for the RequestRegistry object, but
clients simply use RequestRegistry static methods as the interface.
So do not use this class directly as a client. |
RequestRegistry.java | Class | The request registry provides several useful utility functions that
allow isolation of Expresso specifics away from the domain model where
they don't belong. |
RequestRegistryFilter.java | Class | Does a similar job as Expresso's checkLogin() but it also sets the
current default request context and user in the request registry. |
TestExpressoThread.java | Class | Test case to make sure Expresso credentials are properly getting
sent between threads in classes derived from ExpressoThread. |
TestMutableRequestRegistry.java | Class | |