public final class StorageManagerImpl extends Object implements StorageManager
| Constructor and Description |
|---|
StorageManagerImpl(BundleManager bundleManager) |
| Modifier and Type | Method and Description |
|---|---|
StorageState |
createStorageState(long bundleId,
String location,
Integer initialStartlevel,
org.jboss.osgi.vfs.VirtualFile rootFile) |
void |
deleteStorageState(StorageState storageState) |
File |
getDataFile(long bundleId,
String filename) |
File |
getStorageArea() |
File |
getStorageDir(long bundleId) |
StorageState |
getStorageState(String location) |
Set<StorageState> |
getStorageStates() |
void |
initialize(Map<String,Object> props,
boolean firstInit) |
public StorageManagerImpl(BundleManager bundleManager)
public void initialize(Map<String,Object> props, boolean firstInit) throws IOException
initialize in interface StorageManagerIOExceptionpublic StorageState createStorageState(long bundleId, String location, Integer initialStartlevel, org.jboss.osgi.vfs.VirtualFile rootFile) throws IOException
createStorageState in interface StorageManagerIOExceptionpublic void deleteStorageState(StorageState storageState)
deleteStorageState in interface StorageManagerpublic Set<StorageState> getStorageStates()
getStorageStates in interface StorageManagerpublic StorageState getStorageState(String location)
getStorageState in interface StorageManagerpublic File getStorageDir(long bundleId)
getStorageDir in interface StorageManagerpublic File getStorageArea()
getStorageArea in interface StorageManagerpublic File getDataFile(long bundleId, String filename)
getDataFile in interface StorageManagerCopyright © 2013 JBoss by Red Hat. All rights reserved.