net.customware.gwt.dispatch.server
Interface InstanceActionHandlerRegistry

All Superinterfaces:
ActionHandlerRegistry
All Known Implementing Classes:
DefaultActionHandlerRegistry

public interface InstanceActionHandlerRegistry
extends ActionHandlerRegistry

This is a subclass of ActionHandlerRegistry which allows registration of handlers by passing in the handler instance directly.

Author:
David Peterson

Method Summary
 void addHandler(ActionHandler<?,?> handler)
          Adds the specified handler instance to the registry.
 boolean removeHandler(ActionHandler<?,?> handler)
          Removes the specified handler.
 
Methods inherited from interface net.customware.gwt.dispatch.server.ActionHandlerRegistry
clearHandlers, findHandler
 

Method Detail

addHandler

void addHandler(ActionHandler<?,?> handler)
Adds the specified handler instance to the registry.

Parameters:
handler - The action handler.

removeHandler

boolean removeHandler(ActionHandler<?,?> handler)
Removes the specified handler.

Parameters:
handler - The handler.
Returns:
true if the handler was previously registered and was successfully removed.


Copyright © 2011 customware.net. All Rights Reserved.