public void removeTargetHandler ( TargetHandler targetItf ) { // May happen if a target could not be instantiated // (iPojo uses proxies). In this case, it results in a NPE here. if ( targetItf == null ) { this . logger . info ( "An invalid target handler is removed." ) ; } else { synchronized ( this . targetHandlers ) { this . targetHandlers . remove ( targetItf ) ; } this . logger . info ( "Target handler '" + targetItf . getTargetId ( ) + "' is not available anymore in Roboconf's DM." ) ; } listTargets ( this . targetHandlers , this . logger ) ; }
Removes a target handler .