KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > internal > resolver > BundleInstaller


1 /*******************************************************************************
2  * Copyright (c) 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.osgi.internal.resolver;
12
13 import org.eclipse.osgi.service.resolver.BundleDescription;
14 import org.osgi.framework.BundleException;
15
16 /**
17  * A bundle installer allows the platform admin implementation to
18  * delegate the behavior of installing/uninstalling bundles to
19  * another object.
20  *
21  * @see StateManager#commit
22  */

23 public interface BundleInstaller {
24     public void installBundle(BundleDescription toInstall) throws BundleException;
25
26     public void uninstallBundle(BundleDescription toUninstall) throws BundleException;
27
28     public void updateBundle(BundleDescription toRefresh) throws BundleException;
29 }
Popular Tags