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 StorageManager
IOException
public StorageState createStorageState(long bundleId, String location, Integer initialStartlevel, org.jboss.osgi.vfs.VirtualFile rootFile) throws IOException
createStorageState
in interface StorageManager
IOException
public void deleteStorageState(StorageState storageState)
deleteStorageState
in interface StorageManager
public Set<StorageState> getStorageStates()
getStorageStates
in interface StorageManager
public StorageState getStorageState(String location)
getStorageState
in interface StorageManager
public File getStorageDir(long bundleId)
getStorageDir
in interface StorageManager
public File getStorageArea()
getStorageArea
in interface StorageManager
public File getDataFile(long bundleId, String filename)
getDataFile
in interface StorageManager
Copyright © 2013 JBoss by Red Hat. All rights reserved.