public class PersistenceManagerImpl
extends java.lang.Object
implements org.apache.felix.cm.PersistenceManager
This service must be started before any configurable components, and must be configured statically via the enRoute configurer provider as it obviously can't bootstrap-configure its own file location.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PERSISTENCE_CONFIGURATION |
static java.lang.String |
PERSISTENCE_CONFIGURATION |
| Constructor and Description |
|---|
PersistenceManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String pid) |
boolean |
exists(java.lang.String pid) |
java.util.Enumeration |
getDictionaries() |
java.util.Dictionary |
load(java.lang.String pid) |
void |
store(java.lang.String pid,
java.util.Dictionary props) |
public static final java.lang.String PERSISTENCE_CONFIGURATION
public static final java.lang.String DEFAULT_PERSISTENCE_CONFIGURATION
public void delete(java.lang.String pid)
throws java.io.IOException
delete in interface org.apache.felix.cm.PersistenceManagerjava.io.IOExceptionpublic boolean exists(java.lang.String pid)
exists in interface org.apache.felix.cm.PersistenceManagerpublic java.util.Enumeration getDictionaries()
throws java.io.IOException
getDictionaries in interface org.apache.felix.cm.PersistenceManagerjava.io.IOExceptionpublic java.util.Dictionary load(java.lang.String pid)
throws java.io.IOException
load in interface org.apache.felix.cm.PersistenceManagerjava.io.IOExceptionpublic void store(java.lang.String pid,
java.util.Dictionary props)
throws java.io.IOException
store in interface org.apache.felix.cm.PersistenceManagerjava.io.IOException