| /******************************************************************************* |
| * Copyright (c) 2014 Raymond Augé and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Raymond Augé <raymond.auge@liferay.com> - Bug 436698 |
| ******************************************************************************/ |
| |
| package org.eclipse.equinox.http.servlet.internal.customizer; |
| |
| import org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl; |
| import org.osgi.framework.BundleContext; |
| import org.osgi.util.tracker.ServiceTrackerCustomizer; |
| |
| /** |
| * @author Raymond Augé |
| */ |
| public abstract class RegistrationServiceTrackerCustomizer<S, T> |
| implements ServiceTrackerCustomizer<S, T> { |
| |
| public RegistrationServiceTrackerCustomizer( |
| BundleContext bundleContext, HttpServiceRuntimeImpl httpServiceRuntime) { |
| |
| this.bundleContext = bundleContext; |
| this.httpServiceRuntime = httpServiceRuntime; |
| } |
| |
| protected BundleContext bundleContext; |
| protected HttpServiceRuntimeImpl httpServiceRuntime; |
| |
| } |