public class WrappedPersistenceManager extends Object implements org.apache.felix.cm.PersistenceManager, AutoCloseable
See FELIX-4005 & FELIX-4556. This class cannot utilize Java 8 language constructs due to maven bundle plugin 2.3.7
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete(String pid) |
boolean |
exists(String pid) |
Enumeration |
getDictionaries() |
protected org.apache.felix.cm.PersistenceManager |
getInnerPersistenceManager() |
Dictionary |
load(String pid) |
void |
store(String pid,
Dictionary properties) |
protected org.apache.felix.cm.PersistenceManager getInnerPersistenceManager()
public void close() throws Exception
close
in interface AutoCloseable
Exception
public boolean exists(String pid)
exists
in interface org.apache.felix.cm.PersistenceManager
public Dictionary load(String pid) throws IOException
load
in interface org.apache.felix.cm.PersistenceManager
IOException
public Enumeration getDictionaries() throws IOException
getDictionaries
in interface org.apache.felix.cm.PersistenceManager
IOException
public void store(String pid, Dictionary properties) throws IOException
store
in interface org.apache.felix.cm.PersistenceManager
IOException
public void delete(String pid) throws IOException
delete
in interface org.apache.felix.cm.PersistenceManager
IOException
This work is licensed under a Creative Commons Attribution 4.0 International License.