1 23 package com.sun.enterprise.admin.monitor.registry.spi.reconfig; 24 25 import com.sun.enterprise.admin.event.AdminEvent; 26 27 34 public class MonitoringThreadContext { 35 36 41 public static AdminEvent getEventFromThreadLocal() { 42 return (AdminEvent) _threadLocal.get(); 43 } 44 45 50 public static void setEventToThreadLocal(AdminEvent event) { 51 _threadLocal.set(event); 52 } 53 54 57 public static void removeEventFromThreadLocal() { 58 } 61 62 private static ThreadLocal _threadLocal = new ThreadLocal (); 64 } 65 | Popular Tags |