Package org.apache.sling.testing.mock.osgi.config
@Version("1.0.0")
package org.apache.sling.testing.mock.osgi.config
OSGi Config Type Parameters core implementation.
-
ClassDescriptionDefault implementation of
TypedConfig
.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.Common functions for resolving OSGi config test parameters.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.Performs configuration management and component property type construction forConfigType
andSetConfig
annotations.Specific exception type thrown when aConfigType
annotation is resolved which hasConfigType.lenient()
set totrue
, which fails to meet the documented assertion rules.