1 4 package com.tc.async.api; 5 6 import java.util.Collection ; 7 8 12 public interface EventHandler { 13 14 20 public void handleEvent(EventContext context) throws EventHandlerException; 21 22 28 public void handleEvents(Collection context) throws EventHandlerException; 29 30 35 public void initialize(ConfigurationContext context); 36 37 40 public void destroy(); 41 42 public void logOnEnter(EventContext context); 43 44 public void logOnExit(EventContext context); 45 } | Popular Tags |