Component holding cross-hit configuration and consolidated services
Methods
|
|
afterCall
beforeTraversal
getLayer
getSkin
handleException
newContext
ns_handler
|
|
afterCall
|
afterCall ( environ )
Commit transaction after successful hit
|
|
beforeTraversal
|
beforeTraversal ( environ )
Begin transaction before traversal
|
|
getLayer
|
getLayer ( name, default=None )
Return the named layer, or default
|
|
getSkin
|
getSkin ( name, default=None )
Return the named skin, or default
|
|
handleException
|
handleException (
environ,
exc_info,
retry_allowed=1,
)
Convert exception to a handler, and invoke it
|
|
newContext
|
newContext (
environ={},
start=NOT_GIVEN,
skin=None,
user=NOT_GIVEN,
)
Create an initial ITraversalContext based on environ , etc.
If start is not supplied, the policy's application object will be
used as the current location of the created context. If skin is
not supplied, the default skin is used. If user is not
supplied, it is looked up via getUser() .
|
|
ns_handler
|
ns_handler ( ns, default=None )
Return an INamespaceHandler for namespace ns , or default
|
|