@ Deprecated public void registerMessageHandler ( String name , MessageHandler handler ) { // create our handler map if necessary if ( _msghandlers == null ) { _msghandlers = Maps . newHashMap ( ) ; } _msghandlers . put ( name , handler ) ; }
Registers a particular message handler instance to be used when processing message events with the specified name .