public class ComponentContainerFactory extends Object
ComponentContainers.| Constructor and Description |
|---|
ComponentContainerFactory(org.osgi.framework.BundleContext bundleContext)
Same as using the constructor ComponentcontainerFactory(bundleContext, null).
|
ComponentContainerFactory(org.osgi.framework.BundleContext bundleContext,
org.osgi.service.log.LogService logService)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<C> ComponentContainerInstance<C> |
createComponentContainer(org.everit.osgi.ecm.metadata.ComponentMetadata componentMetadata)
Creates a new
ComponentContainerInstance. |
public ComponentContainerFactory(org.osgi.framework.BundleContext bundleContext)
bundleContext - The context of the bundle that would like to create and open
ComponentContainerInstances.public ComponentContainerFactory(org.osgi.framework.BundleContext bundleContext,
org.osgi.service.log.LogService logService)
bundleContext - The context of the bundle that would like to create and open
ComponentContainerInstances.logService - The logService to log to or null if the standard JDK logger should be
used.public <C> ComponentContainerInstance<C> createComponentContainer(org.everit.osgi.ecm.metadata.ComponentMetadata componentMetadata)
ComponentContainerInstance.C - The type of the ComponentContainerInstance.componentMetadata - The metadata of the component(s) that should be instantiated by the container.Copyright © 2011–2015 Everit Kft.. All rights reserved.