All Classes
-
All Classes Interface Summary Class Summary Exception Summary Annotation Types Summary Class Description AbstractContextPlugin<T extends OsgiContextImpl> Default implementation ofContextPlugin
.AnnotationTypedConfig<T> Default implementation ofTypedConfig
.AutoConfig Declares a component configuration pid for which all non-configured component property type annotations in scope are converted to maps and merged to ConfigurationAdmin just prior to test execution.ComponentContextBuilder Builds a mockedComponentContext
.ComponentPropertyParser A few items borrowed from biz.aQute.bndlib DSAnnotationReader and PropertyDef to construct a Map for felix scr Annotations.toObject() from a combination of an annotation type and an array of property key=value strings provided via aConfigType
annotation.ConfigAnnotationUtil Common functions for resolving OSGi config test parameters.ConfigAnnotationUtil.ConfigTypePredicate Predicate for custom filtering of fully identified candidate annotations, accepting anOptional
ofConfigType
representing the parent annotation when present, and theClass
of the effective config type.ConfigCollection A heterogeneously typed collection of OSGi Config objects for injection as a test parameter.ConfigType Defines an instance of an OSGi R7 Component Property Type as a combination of aClass
and an array of strings defining property values in the form expected byComponent.property()
.ConfigTypeContext Performs configuration management and component property type construction forConfigType
andSetConfig
annotations.ConfigTypes Repeatable
container annotation forConfigType
.ConfigTypeStrictnessViolation Specific exception type thrown when aConfigType
annotation is resolved which hasConfigType.lenient()
set totrue
, which fails to meet the documented assertion rules.ContextCallback<T extends OsgiContextImpl> Callback interface for application-specific setup and teardown operations to customize the mock context.ContextPlugin<T extends OsgiContextImpl> Callback plugin for application-specific setup and teardown operations to customize the mock context.ContextPlugins Collects list of context plugins.DictionaryCollector<K,V> ManifestScanner Scan METAINF/MANIFEST.MF files.MapUtil Map util methods.MockBundle MockBundle
implementation.MockEventAdmin Mock implementation ofEventAdmin
.MockOsgi Factory for mock OSGi objects.NoScrMetadataException Is thrown when a OSGi mock method required SCR metadata and this is not found in the classpath.OsgiContextImpl Defines OSGi context objects and helper methods.ReferenceViolationException Is thrown when a OSGi reference injection fails due to violated constraints.SetConfig Define this annotation on a test class or method to use theConfigurationAdmin
service to update the persisted properties for the configuration whose pid matches theSetConfig.pid()
attribute.SetConfigs Repeatable
container annotation forSetConfig
.TypedConfig<T> Represents a single config entry within aConfigCollection
.