public void clearDispatcher ( InvocationMarshaller < ? > marsh ) { _omgr . requireEventThread ( ) ; // sanity check if ( marsh == null ) { log . warning ( "Refusing to unregister null marshaller." , new Exception ( ) ) ; return ; } if ( _dispatchers . remove ( marsh . getInvocationCode ( ) ) == null ) { log . warning ( "Requested to remove unregistered marshaller?" , "marsh" , marsh , new Exception ( ) ) ; } }
Clears out a dispatcher registration . This should be called to free up resources when an invocation service is no longer going to be used .