Methods Summary |
---|
public static com.sun.enterprise.admin.event.AdminEvent | getEventFromThreadLocal()Returns the monitoring event from thread local.
return (AdminEvent) _threadLocal.get();
|
public static void | removeEventFromThreadLocal()Removes the monitoring event from thread local.
// only supported in J2SE 5.0
//_threadLocal.remove();
|
public static void | setEventToThreadLocal(com.sun.enterprise.admin.event.AdminEvent event)Sets the monitoring event to thread local.
_threadLocal.set(event);
|