summaryrefslogtreecommitdiffstats
path: root/tags/java-stable-20060304/sca/core/src/main/java/org/apache/tuscany/core/injection/NullEventInvoker.java
blob: 23599bae0eb6abd0bcdbc32d01e6db5f4c2f0e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.apache.tuscany.core.injection;

/**
 * A no-op invoker
 *
 * @version $Rev$ $Date$
 */
public final class NullEventInvoker<T> implements EventInvoker<T> {
    public static final EventInvoker<?> NULL_INVOKER = new NullEventInvoker();

    public void invokeEvent(T instance) {
        // does nothing
    }
}