blob: 0a8c778bc8bbdfbb045e019267ab829c83bd7b0d [file] [log] [blame]
Marcel Offermans516d38d2006-03-25 20:46:19 +00001/*
2 * Copyright 2006 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17package org.apache.felix.dependencymanager;
18
19import org.osgi.framework.ServiceReference;
20
21/**
22 * TODO modified version of a normal service tracker customizer, this one has an
23 * extra callback "addedservice" that is invoked after the service has been added
24 * to the tracker (and therefore is accessible through the tracker API)
25 *
26 * @author Marcel Offermans
27 */
28public interface ServiceTrackerCustomizer {
29 public Object addingService(ServiceReference ref);
30 public void addedService(ServiceReference ref, Object service);
31 public void modifiedService(ServiceReference ref, Object service);
32 public void removedService(ServiceReference ref, Object service);
33}