/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.xwiki.wikistream.internal.job;

import javax.inject.Named;
import javax.inject.Singleton;

import org.xwiki.component.annotation.Component;
import org.xwiki.job.internal.DefaultJobManager;

/**
 * {@link org.xwiki.job.JobManager} dedicated to WikiStream conversions.
 * 
 * @version $Id$
 * @since 5.3M3
 */
// TODO: remove when http://jira.xwiki.org/browse/XCOMMONS-400 is done
@Component
@Named("wikistream")
@Singleton
public class WikiStreamJobManager extends DefaultJobManager
{

}

@@ -1039,16 +1039,74 @@
 ponent;%0A
+import org.xwiki.component.phase.InitializationException;%0A
 import o
@@ -1441,11 +1441,156 @@
 nager%0A%7B%0A
+    @Override%0A    public void initialize() throws InitializationException%0A    %7B%0A        initialize(%22WikiStream Job Manager daemon thread%22);%0A    %7D
 %0A%7D%0A

Set a custom name for wikistream job manager thread