Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2005, 2006 IBM Corporation 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: IBM Corporation - initial API and implementation /
package org.eclipse.osgi.internal.baseadaptor;
import java.io.*;
public class BundleUninstall implements BundleOperation {
	private BaseData data;
	public BundleUninstall(BaseData dataBaseStorage storage) {
		this. = data;
		this. = storage;
	}

Perform the change to persistent storage.

Returns:
Bundle object for the target bundle.
Throws:
org.osgi.framework.BundleException If a failure occured modifiying peristent storage.
	public BundleData begin() throws BundleException {
		return ;
	}

Commit the change to persistent storage.

Parameters:
postpone If true, the bundle's persistent storage cannot be immediately reclaimed.
Throws:
org.osgi.framework.BundleException If a failure occured modifiying peristent storage.
	public void commit(boolean postponethrows BundleException {
		try {
			storageHook.delete(postpone.);
catch (IOException e) {
			// nothing we can do
		}
	}

Undo the change to persistent storage.

Throws:
org.osgi.framework.BundleException If a failure occured modifiying peristent storage.
	public void undo() throws BundleException {
		// do nothing
	}
New to GrepCode? Check out our FAQ X