package org.jboss.pnc.core;

import org.jboss.logging.Logger;

import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;


/**
 * Not in use
 *
 * Created by <a href="mailto:matejonnet@gmail.com">Matej Lazar</a> on 2014-12-16.
 */
@Deprecated
public class Lifecycle {

    Logger log = Logger.getLogger(Lifecycle.class);

    public Lifecycle(Logger log) {
    }

    public void start() {
        ThreadFactory threadFactory = Executors.defaultThreadFactory();
        log.info("Core started.");
    }

    public void stop() {
        log.info("Core stopped.");
    }


}

@@ -60,91 +60,8 @@
 r;%0A%0A
-import java.util.concurrent.Executors;%0Aimport java.util.concurrent.ThreadFactory;%0A%0A
 %0A/**
@@ -169,20 +169,8 @@
  */%0A
-@Deprecated%0A
 publ
@@ -265,26 +265,16 @@
 fecycle(
-Logger log
 ) %7B%0A    
@@ -306,80 +306,8 @@
 ) %7B%0A
-        ThreadFactory threadFactory = Executors.defaultThreadFactory();%0A
     

Fix core lifecycle bean.