org.eclipse.osgi.internal.baseadaptor
Class BundleUninstall
java.lang.Object
org.eclipse.osgi.internal.baseadaptor.BundleUninstall
- All Implemented Interfaces:
- BundleOperation
public class BundleUninstall
- extends Object
- implements BundleOperation
|
Method Summary |
BundleData |
begin()
Perform the change to persistent storage. |
void |
commit(boolean postpone)
Commit the change to persistent storage. |
void |
undo()
Undo the change to persistent storage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleUninstall
public BundleUninstall(BaseData data,
BaseStorage storage)
begin
public BundleData begin()
throws BundleException
- Perform the change to persistent storage.
- Specified by:
begin in interface BundleOperation
- Returns:
- Bundle object for the target bundle.
- Throws:
BundleException - If a failure occured modifiying peristent storage.
commit
public void commit(boolean postpone)
throws BundleException
- Commit the change to persistent storage.
- Specified by:
commit in interface BundleOperation
- Parameters:
postpone - If true, the bundle's persistent
storage cannot be immediately reclaimed.
- Throws:
BundleException - If a failure occured modifiying peristent storage.
undo
public void undo()
throws BundleException
- Undo the change to persistent storage.
- Specified by:
undo in interface BundleOperation
- Throws:
BundleException - If a failure occured modifiying peristent storage.
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.