org.apache.tuscany.sca.implementation.java.invocation
Class MethodEventInvoker<T>

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.java.invocation.MethodEventInvoker<T>
All Implemented Interfaces:
EventInvoker<T>

public class MethodEventInvoker<T>
extends java.lang.Object
implements EventInvoker<T>

Performs an wire on a method of a given instance


Constructor Summary
MethodEventInvoker(java.lang.reflect.Method method)
          Instantiates an invoker for the given method
 
Method Summary
 void invokeEvent(T instance)
          Performs the invocation on a given instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodEventInvoker

public MethodEventInvoker(java.lang.reflect.Method method)
Instantiates an invoker for the given method

Method Detail

invokeEvent

public void invokeEvent(T instance)
                 throws EventInvocationException
Description copied from interface: EventInvoker
Performs the invocation on a given instance

Specified by:
invokeEvent in interface EventInvoker<T>
Throws:
EventInvocationException