Package: PackageAdminUtil

PackageAdminUtil

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2008, 2010 VMware Inc.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * VMware Inc. - initial contribution
10: *******************************************************************************/
11:
12: package org.eclipse.virgo.kernel.osgi.framework;
13:
14: import org.osgi.framework.Bundle;
15:
16: /**
17: * {@link PackageAdminUtil} provides utilities relating to {@link org.osgi.service.packageadmin.PackageAdmin PackageAdmin}.
18: * <p />
19: *
20: * <strong>Concurrent Semantics</strong><br />
21: *
22: * Implementations of this class must be thread safe.
23: *
24: */
25: public interface PackageAdminUtil {
26: /**
27: * Synchronously drives refresh packages for the given bundles.
28: *
29: * @param bundles The bundles to refresh.
30: */
31: void synchronouslyRefreshPackages(Bundle[] bundles);
32: }