Export LifecycleListener in the extension API

Extensions may need to know when they are starting or stopping.
Export the interface that they can use to learn this information.

Change-Id: I45bb567aa76887844fbd82c8394ef117aa69c77c
This commit is contained in:
Shawn O. Pearce
2012-05-12 18:05:09 -07:00
parent e051cb8fd6
commit 020cd7adda
18 changed files with 21 additions and 16 deletions

View File

@@ -17,8 +17,8 @@ package com.google.gerrit.pgm.http.jetty;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static java.util.concurrent.TimeUnit.SECONDS;
import com.google.gerrit.extensions.events.LifecycleListener;
import com.google.gerrit.launcher.GerritLauncher;
import com.google.gerrit.lifecycle.LifecycleListener;
import com.google.gerrit.reviewdb.client.AuthType;
import com.google.gerrit.server.config.ConfigUtil;
import com.google.gerrit.server.config.GerritServerConfig;

View File

@@ -14,7 +14,7 @@
package com.google.gerrit.pgm.util;
import com.google.gerrit.lifecycle.LifecycleListener;
import com.google.gerrit.extensions.events.LifecycleListener;
import com.google.gerrit.server.config.SitePaths;
import org.apache.log4j.Appender;

View File

@@ -16,7 +16,7 @@ package com.google.gerrit.pgm.util;
import static java.util.concurrent.TimeUnit.HOURS;
import com.google.gerrit.lifecycle.LifecycleListener;
import com.google.gerrit.extensions.events.LifecycleListener;
import com.google.gerrit.lifecycle.LifecycleModule;
import com.google.gerrit.server.config.SitePaths;
import com.google.gerrit.server.git.WorkQueue;