1 10 11 package org.picocontainer; 12 13 import java.lang.reflect.Constructor ; 14 import java.lang.reflect.Method ; 15 16 27 public interface ComponentMonitor { 28 29 34 void instantiating(Constructor constructor); 35 36 43 void instantiated(Constructor constructor, long duration); 44 45 55 56 void instantiated(Constructor constructor, Object instantiated, Object [] injected, long duration); 57 58 64 void instantiationFailed(Constructor constructor, Exception cause); 65 66 72 void invoking(Method method, Object instance); 73 74 81 void invoked(Method method, Object instance, long duration); 82 83 90 void invocationFailed(Method method, Object instance, Exception cause); 91 92 100 void lifecycleInvocationFailed(Method method, Object instance, RuntimeException cause); 101 102 103 } 104 | Popular Tags |