java.util.EventListener
, ContextHandler.ContextScopeListener
public class TestContextScopeListener extends java.lang.Object implements ContextHandler.ContextScopeListener
Constructor | Description |
---|---|
TestContextScopeListener() |
Modifier and Type | Method | Description |
---|---|---|
void |
enterScope(ContextHandler.Context context,
Request request,
java.lang.Object reason) |
|
void |
exitScope(ContextHandler.Context context,
Request request) |
|
java.util.concurrent.CountDownLatch |
getExitSynchronizer() |
|
void |
setExitSynchronizer(java.util.concurrent.CountDownLatch exitSynchronizer) |
public java.util.concurrent.CountDownLatch getExitSynchronizer()
public void setExitSynchronizer(java.util.concurrent.CountDownLatch exitSynchronizer)
exitSynchronizer
- the exitSynchronizer to setpublic void enterScope(ContextHandler.Context context, Request request, java.lang.Object reason)
enterScope
in interface ContextHandler.ContextScopeListener
context
- The context being enteredrequest
- A request that is applicable to the scope, or nullreason
- An object that indicates the reason the scope is being entered.public void exitScope(ContextHandler.Context context, Request request)
exitScope
in interface ContextHandler.ContextScopeListener
context
- The context being exitedrequest
- A request that is applicable to the scope, or nullCopyright © 1995–2018 Webtide. All rights reserved.