public final void registerTaskSubmitter ( TaskSubmitter taskSubmitter ) { if ( taskSubmitter == null ) { throw new TaskExeception ( "TaskSubmitter can't be NULL" ) ; } this . taskSubmitters . put ( taskSubmitter . getClass ( ) , taskSubmitter . getTaskSubmitterId ( ) ) ; }
Registers the task submitter . DO NOT USE THIS METHOD UNLESS YOU ARE DEVELOPING A NEW TASK SUBMITTER .