public class BundleUninstall extends Object implements BundleOperation
Constructor and Description |
---|
BundleUninstall(BaseData data,
BaseStorage storage) |
Modifier and Type | Method and Description |
---|---|
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.
|
public BundleUninstall(BaseData data, BaseStorage storage)
public BundleData begin() throws BundleException
begin
in interface BundleOperation
BundleException
- If a failure occured modifiying peristent storage.public void commit(boolean postpone) throws BundleException
commit
in interface BundleOperation
postpone
- If true, the bundle's persistent
storage cannot be immediately reclaimed.BundleException
- If a failure occured modifiying peristent storage.public void undo() throws BundleException
undo
in interface BundleOperation
BundleException
- If a failure occured modifiying peristent storage.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.