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 AutoCloseableExceptionpublic boolean exists(String pid)
exists in interface org.apache.felix.cm.PersistenceManagerpublic Dictionary load(String pid) throws IOException
load in interface org.apache.felix.cm.PersistenceManagerIOExceptionpublic Enumeration getDictionaries() throws IOException
getDictionaries in interface org.apache.felix.cm.PersistenceManagerIOExceptionpublic void store(String pid, Dictionary properties) throws IOException
store in interface org.apache.felix.cm.PersistenceManagerIOExceptionpublic void delete(String pid) throws IOException
delete in interface org.apache.felix.cm.PersistenceManagerIOExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.