public class AutoConfResourceProcessor extends Object implements org.osgi.service.deploymentadmin.spi.ResourceProcessor, org.osgi.service.event.EventHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_ADMIN_FILTER_ATTRIBUTE |
| Constructor and Description |
|---|
AutoConfResourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationAdmin(org.osgi.framework.ServiceReference ref,
org.osgi.service.cm.ConfigurationAdmin ca)
Called by Felix DM for the component created in
commit(). |
void |
begin(org.osgi.service.deploymentadmin.spi.DeploymentSession session) |
void |
cancel() |
void |
commit() |
void |
dropAllResources() |
void |
dropped(String name) |
void |
handleEvent(org.osgi.service.event.Event event) |
void |
postcommit() |
void |
prepare() |
void |
process(String name,
InputStream stream) |
void |
rollback() |
void |
start()
Called by Felix DM when starting this component.
|
public static final String CONFIGURATION_ADMIN_FILTER_ATTRIBUTE
public void addConfigurationAdmin(org.osgi.framework.ServiceReference ref,
org.osgi.service.cm.ConfigurationAdmin ca)
commit().public void begin(org.osgi.service.deploymentadmin.spi.DeploymentSession session)
begin in interface org.osgi.service.deploymentadmin.spi.ResourceProcessorpublic void cancel()
cancel in interface org.osgi.service.deploymentadmin.spi.ResourceProcessorpublic void commit()
commit in interface org.osgi.service.deploymentadmin.spi.ResourceProcessorpublic void dropAllResources()
throws org.osgi.service.deploymentadmin.spi.ResourceProcessorException
dropAllResources in interface org.osgi.service.deploymentadmin.spi.ResourceProcessororg.osgi.service.deploymentadmin.spi.ResourceProcessorExceptionpublic void dropped(String name) throws org.osgi.service.deploymentadmin.spi.ResourceProcessorException
dropped in interface org.osgi.service.deploymentadmin.spi.ResourceProcessororg.osgi.service.deploymentadmin.spi.ResourceProcessorExceptionpublic void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerpublic void postcommit()
public void prepare()
throws org.osgi.service.deploymentadmin.spi.ResourceProcessorException
prepare in interface org.osgi.service.deploymentadmin.spi.ResourceProcessororg.osgi.service.deploymentadmin.spi.ResourceProcessorExceptionpublic void process(String name, InputStream stream) throws org.osgi.service.deploymentadmin.spi.ResourceProcessorException
process in interface org.osgi.service.deploymentadmin.spi.ResourceProcessororg.osgi.service.deploymentadmin.spi.ResourceProcessorExceptionpublic void rollback()
rollback in interface org.osgi.service.deploymentadmin.spi.ResourceProcessorpublic void start()
throws IOException
IOExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.