|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.method.ContextCaptureDelegate
public class ContextCaptureDelegate
Implementation of NotificationHandlerDelegate for
use in method server to capture a set of active method contexts immediately prior
to notification and then release it immediately thereafter.
Supported API: true
| Nested Class Summary | |
|---|---|
static class |
ContextCaptureDelegate.Factory
Implementation of NotificationHandlerDelegateFactory for
use in servlet engine with NotificationHandlerMBean via
its CustomDelegateFactoryClass attribute to construct ContextCaptureDelegate
instances as delegates. |
| Method Summary | |
|---|---|
void |
postHandleNotification()
Releases method context set captured in preHandleNotification. |
boolean |
preHandleNotification(NotificationHandlerMBean mbean,
ObjectName source,
Notification notification,
boolean willOutputInfo)
If 'willOutputInfo' is true, then captures set of active method contexts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean preHandleNotification(NotificationHandlerMBean mbean,
ObjectName source,
Notification notification,
boolean willOutputInfo)
preHandleNotification in interface NotificationHandlerDelegatembean - NotificationHandlerMBean from which this delegate is being calledsource - Source of notification; may be null when called from getInfoItemsPreview()notification - Notification object; will be null when called from getInfoItemsPreview() and non-null otherwisewillOutputInfo - Whether the NotificationHandlerMBean would produce output on its own
public void postHandleNotification()
postHandleNotification in interface NotificationHandlerDelegate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||