public class DomainModelPersistenceManager extends Object implements org.apache.felix.cm.PersistenceManager, org.osgi.framework.BundleActivator
PersistenceManager
that delegates
to the ConfigAdminService
Constructor and Description |
---|
DomainModelPersistenceManager() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String pid) |
boolean |
exists(String pid) |
Enumeration |
getDictionaries() |
Dictionary |
load(String pid) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
void |
store(String pid,
Dictionary source) |
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
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 source) 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
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.