public interface ModuleResolver
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext componentContext)
Sets the
ComponentContext of the OSGi environment the bundle was
started in. |
void |
addPepperExporterComponentFactory(org.osgi.service.component.ComponentFactory pepperExporterComponentFactory)
This method is called by OSGi framework and adds all registered
ComponentFactory objects having the name
PepperExporterComponentFactory to this object. |
void |
addPepperImporterComponentFactory(org.osgi.service.component.ComponentFactory pepperImporterComponentFactory)
This method is called by OSGi framework and adds all registered
ComponentFactory objects having the name
PepperImporterComponentFactory to this object. |
void |
addPepperManipulatorComponentFactory(org.osgi.service.component.ComponentFactory pepperManipulatorComponentFactory)
This method is called by OSGi framework and adds all registered
ComponentFactory objects having the name
PepperManipulatorComponentFactory to this object. |
org.osgi.service.component.ComponentContext |
getComponentContext()
Returns the
ComponentContext of the OSGi environment the bundle
was started in. |
PepperConfiguration |
getConfiguration()
Returns the configuration object for this converter object.
|
PepperExporter |
getPepperExporter(StepDesc stepDesc)
Creates an instance of
PepperExporter for each listed
ComponentFactory in list
#pepperExporterComponentFactories and returns that list. |
List<org.osgi.service.component.ComponentFactory> |
getPepperExporterComponentFactories()
TODO make docu
|
List<PepperExporter> |
getPepperExporters()
Creates an instance of
PepperExporter for each listed
ComponentFactory in list
#pepperExporterComponentFactories and returns that list. |
PepperImporter |
getPepperImporter(StepDesc stepDesc)
Returns a
PepperImporter object matching to the given
ImporterParams. |
List<org.osgi.service.component.ComponentFactory> |
getPepperImporterComponentFactories()
TODO make docu
|
List<PepperImporter> |
getPepperImporters()
Creates an instance of
PepperImporter for each listed
ComponentFactory in list
#pepperImporterComponentFactories and returns that list. |
PepperManipulator |
getPepperManipulator(StepDesc stepDesc)
Creates an instance of
PepperManipulator for each listed
ComponentFactory in list
#pepperManipulatorComponentFactories and returns that list. |
List<org.osgi.service.component.ComponentFactory> |
getPepperManipulatorComponentFactories()
TODO make docu
|
List<PepperManipulator> |
getPepperManipulators()
Creates an instance of
PepperManipulator for each listed
ComponentFactory in list
#pepperManipulatorComponentFactories and returns that list. |
PepperModule |
getPepperModule(StepDesc stepDesc)
Returns a
PepperModule object matching to the given
StepDesc. |
String |
getStatus()
Returns a status description as
String. |
void |
removePepperExporterComponentFactory(org.osgi.service.component.ComponentFactory pepperExporterComponentFactory)
TODO make some docu
|
void |
removePepperImporterComponentFactory(org.osgi.service.component.ComponentFactory pepperImporterComponentFactory)
TODO make docu
|
void |
removePepperManipulatorComponentFactory(org.osgi.service.component.ComponentFactory pepperManipulatorComponentFactory)
TODO make docu
|
void |
setConfiguration(PepperConfiguration pepperConfiguration)
Sets the configuration object for this object.
|
static final String RESOURCES
org.osgi.service.component.ComponentContext getComponentContext()
ComponentContext of the OSGi environment the bundle
was started in.void activate(org.osgi.service.component.ComponentContext componentContext)
ComponentContext of the OSGi environment the bundle was
started in.componentContext - String getStatus()
String. The returned
String contains the number of all available PepperModule
objects in a readable format.String representation of all PepperModule objects
available by this PepperModuleResolver object.void addPepperImporterComponentFactory(org.osgi.service.component.ComponentFactory pepperImporterComponentFactory)
ComponentFactory objects having the name
PepperImporterComponentFactory to this object. All
ComponentFactory objects are stored in an internal object
#pepperImporterComponentFactoriesvoid removePepperImporterComponentFactory(org.osgi.service.component.ComponentFactory pepperImporterComponentFactory)
List<org.osgi.service.component.ComponentFactory> getPepperImporterComponentFactories()
void addPepperManipulatorComponentFactory(org.osgi.service.component.ComponentFactory pepperManipulatorComponentFactory)
ComponentFactory objects having the name
PepperManipulatorComponentFactory to this object. All
ComponentFactory objects are stored in an internal object
#pepperManipulatorComponentFactories.void removePepperManipulatorComponentFactory(org.osgi.service.component.ComponentFactory pepperManipulatorComponentFactory)
List<org.osgi.service.component.ComponentFactory> getPepperManipulatorComponentFactories()
void addPepperExporterComponentFactory(org.osgi.service.component.ComponentFactory pepperExporterComponentFactory)
ComponentFactory objects having the name
PepperExporterComponentFactory to this object. All
ComponentFactory objects are stored in the internal object list
#pepperExporterComponentFactories.pepperExporterComponentFactory - ComponentFactory object to be stored in internal listvoid removePepperExporterComponentFactory(org.osgi.service.component.ComponentFactory pepperExporterComponentFactory)
List<org.osgi.service.component.ComponentFactory> getPepperExporterComponentFactories()
void setConfiguration(PepperConfiguration pepperConfiguration)
pepperConfiguration - PepperConfiguration getConfiguration()
PepperConfiguration object was set, an automatic detection of
configuration file will be started.List<PepperImporter> getPepperImporters()
PepperImporter for each listed
ComponentFactory in list
#pepperImporterComponentFactories and returns that list. This
PepperModuleResolver instance does not store any link to the
created object, so it can be used and removed as the caller like. Thus
each call creates a new list containing new objects.PepperImporter objects.List<PepperManipulator> getPepperManipulators()
PepperManipulator for each listed
ComponentFactory in list
#pepperManipulatorComponentFactories and returns that list. This
PepperModuleResolver instance does not store any link to the
created object, so it can be used and removed as the caller like. Thus
each call creates a new list containing new objects.PepperManipulator objects.List<PepperExporter> getPepperExporters()
PepperExporter for each listed
ComponentFactory in list
#pepperExporterComponentFactories and returns that list. This
PepperModuleResolver instance does not store any link to the
created object, so it can be used and removed as the caller like. Thus
each call creates a new list containing new objects.PepperExporter objects.PepperModule getPepperModule(StepDesc stepDesc)
PepperModule object matching to the given
StepDesc. A new instance of the specific PepperImporter
class is created and returned. No references to the returned object will
be stored in this PepperModuleResolver object. When calling
#getPepperModule(ImporterParams) a new instance of
PepperModule is created.pepperImporterParams - specifies the PepperModule object to be foundPepperModule matching the given
StepDescPepperImporter getPepperImporter(StepDesc stepDesc)
PepperImporter object matching to the given
ImporterParams. A new instance of the specific
PepperImporter class is created and returned. No references to
the returned object will be stored in this PepperModuleResolver
object. When calling #getPepperImporter(ImporterParams) a new
instance of PepperImporter is created.pepperImporterParams - specifies the PepperImporter object to be foundPepperImporter matching the given
ImporterParamsPepperManipulator getPepperManipulator(StepDesc stepDesc)
PepperManipulator for each listed
ComponentFactory in list
#pepperManipulatorComponentFactories and returns that list. This
PepperModuleResolver instance does not store any link to the
created object, so it can be used and removed as the caller like. Thus
each call creates a new list containing new objects.PepperManipulator objects.PepperExporter getPepperExporter(StepDesc stepDesc)
PepperExporter for each listed
ComponentFactory in list
#pepperExporterComponentFactories and returns that list. This
PepperModuleResolver instance does not store any link to the
created object, so it can be used and removed as the caller like. Thus
each call creates a new list containing new objects.PepperExporter objects.Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.