|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ComponentMonitor.java | - | - | - | - |
|
1 | /***************************************************************************** | |
2 | * Copyright (C) PicoContainer Organization. All rights reserved. * | |
3 | * ------------------------------------------------------------------------- * | |
4 | * The software in this package is published under the terms of the BSD * | |
5 | * style license a copy of which has been included with this distribution in * | |
6 | * the LICENSE.txt file. * | |
7 | * * | |
8 | * Original code by Paul Hammant & Obie Fernandez & Aslak * | |
9 | *****************************************************************************/ | |
10 | ||
11 | package org.picocontainer.defaults; | |
12 | ||
13 | import java.lang.reflect.Constructor; | |
14 | import java.lang.reflect.Method; | |
15 | ||
16 | /** | |
17 | * @author Paul Hammant | |
18 | * @author Obie Fernandez | |
19 | * @author Aslak Hellesøy | |
20 | * @version $Revision: 1840 $ | |
21 | */ | |
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 | } |
|