1 10 11 package org.picocontainer.defaults; 12 13 import java.lang.reflect.Constructor ; 14 import java.lang.reflect.Method ; 15 16 22 public interface ComponentMonitor { 23 24 void instantiating(Constructor constructor); 25 26 void instantiated(Constructor constructor, long beforeTime, long duration); 27 28 void instantiationFailed(Constructor constructor, Exception e); 29 30 void invoking(Method method, Object instance); 31 32 void invoked(Method method, Object instance, long duration); 33 34 void invocationFailed(Method method, Object instance, Exception e); 35 36 } 37 | Popular Tags |