|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.deployment.rp.autoconf.PersistencyManager
public class PersistencyManager
Constructor Summary | |
---|---|
PersistencyManager(File root)
|
Method Summary | |
---|---|
void |
delete(String name)
Deletes a resource. |
List |
load(String name)
Loads a stored resource. |
Map |
loadAll()
Loads all stored resources. |
void |
store(String name,
List configs)
Stores a resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistencyManager(File root)
Method Detail |
---|
public void store(String name, List configs) throws IOException
name
- Name of the resource.configs
- List of AutoConfResource
s representing the specified resource.
IOException
- If the resource could not be stored.public void delete(String name) throws IOException
name
- Name of the resource.
IOException
- If the resource could not be deleted.public List load(String name) throws IOException
name
- Name of the resource.
AutoConfResource
s representing the specified resource, if the resource is unknown an empty list is returned.
IOException
- If the resource could not be properly read.public Map loadAll() throws IOException
IOException
- If not all resources could be loaded.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |