String messageType, T stagedModel, ManifestSummary manifestSummary) {
if (!BackgroundTaskThreadLocal.hasBackgroundTask()) {
return;
}
Message message = createMessage(messageType, manifestSummary);
<BUG>StagedModelDataHandler stagedModelDataHandler =

StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(</BUG>
stagedModel.getModelClassName());
message.put(

String messageType, T stagedModel, ManifestSummary manifestSummary) {
if (!BackgroundTaskThreadLocal.hasBackgroundTask()) {
return;
}
Message message = createMessage(messageType, manifestSummary);
StagedModelDataHandler<T> stagedModelDataHandler =
(StagedModelDataHandler<T>)
StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(
stagedModel.getModelClassName());
message.put(
