code: public static void verifyTargets(
  			ITargetHandlerResolver targetHandlerResolver,
  			ManagedApplication ma,
  			ITargetsMngr targetsMngr ) {
  
  		Logger logger = Logger.getLogger( TargetHelpers.class.getName());
  		for( Instance inst : InstanceHelpers.getAllInstances( ma.getApplication())) {
  			if( ! InstanceHelpers.isTarget( inst ))
  				continue;
  
  			try {
  				String path = InstanceHelpers.computeInstancePath( inst );
  				Map<String,String> targetProperties = targetsMngr.findTargetProperties( ma.getApplication(), path ).asMap();
  				targetHandlerResolver.findTargetHandler( targetProperties );
  
  			} catch( TargetException e ) {
  				logger.warning( e.getMessage());
  			}
  		}
  	}
docs: Verifies that all the target handlers an application needs are installed.
  @param targetHandlerResolver the DM's target resolver
  @param ma a managed application
  @param handlers a non-null list of handlers