1 /*******************************************************************************
2  * Copyright (c) 2012, 2013 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.osgi.internal.hookregistry;
15 
16 import org.osgi.framework.BundleActivator;
17 
18 /**
19  * A factory for creating bundle activators for an
20  * equinox hook.
21  */
22 public interface ActivatorHookFactory {
23 	/**
24 	 * Creates an activator for an equinox hook.  The returned
25 	 * activator will be called when the system bundle is
26 	 * started and stopped.
27 	 *
28 	 */
createActivator()29 	public BundleActivator createActivator();
30 }
31