C - The type of the component implementation.public class FactoryComponentContainerImpl<C> extends AbstractComponentContainer<C> implements org.osgi.service.cm.ManagedServiceFactory
ComponentContainer for components that are instantiated multiple times based on the
number of configurations.| Constructor and Description |
|---|
FactoryComponentContainerImpl(org.everit.osgi.ecm.metadata.ComponentMetadata componentMetadata,
org.osgi.framework.BundleContext bundleContext,
org.osgi.service.log.LogService logService) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stops and deletes all components that are managed by this container and unregisters registered
OSGi services.
|
void |
deleted(String pid) |
String |
getName() |
ComponentRevisionImpl<C>[] |
getResources() |
void |
open()
Starts the component container instance.
|
void |
updated(String pid,
Dictionary<String,?> properties) |
addCommonServiceProperties, getBundleContext, getComponentMetadata, getLocales, getLogService, getObjectClassDefinition, getWires, getWiresByCapability, getWiresByRequirementpublic FactoryComponentContainerImpl(org.everit.osgi.ecm.metadata.ComponentMetadata componentMetadata,
org.osgi.framework.BundleContext bundleContext,
org.osgi.service.log.LogService logService)
public void close()
ComponentContainerInstanceclose in interface ComponentContainerInstance<C>public void deleted(String pid)
deleted in interface org.osgi.service.cm.ManagedServiceFactorypublic String getName()
getName in interface org.osgi.service.cm.ManagedServiceFactorypublic ComponentRevisionImpl<C>[] getResources()
getResources in interface org.everit.osgi.ecm.component.resource.ComponentContainer<C>getResources in interface org.everit.osgi.linkage.ResourceContainergetResources in class AbstractComponentContainer<C>public void open()
ComponentContainerInstanceComponentContainer and optionally
MetaTypeProvider and
ManagedService or ManagedServiceFactory
interfacesopen in interface ComponentContainerInstance<C>public void updated(String pid, Dictionary<String,?> properties) throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceFactoryorg.osgi.service.cm.ConfigurationExceptionCopyright © 2011–2015 Everit Kft.. All rights reserved.