org.apache.beehive.controls.api.events
Interface RemoteEventDispatcher


public interface RemoteEventDispatcher

The RemoteEventDispatcher interface defines the method signature that a container supporting the external dispatch of Control events would implement if events can be dispatched using RMI.


Method Summary
 Object dispatchEvent(ControlHandle target, EventRef event, Object[] args)
          Dispatches a Control event to a target control.
 

Method Detail

dispatchEvent

Object dispatchEvent(ControlHandle target,
                     EventRef event,
                     Object[] args)
                     throws RemoteException
Dispatches a Control event to a target control.

Parameters:
target - the target control
event - the event to deliver to the control
args - the parameters to the control event
Throws:
IllegalAccessException - the underlying event method is not accessible due to access control.
IllegalArgumentException - the target is not valid, the event is not a valid event type for the requested target, or the argument types do not match the event signature.
InvocationTargetException - wraps any exception thrown by the underlying event handler.
RemoteException