Class OsgiInjectableValues
- java.lang.Object
-
- com.fasterxml.jackson.databind.InjectableValues
-
- com.fasterxml.jackson.module.osgi.OsgiInjectableValues
-
public class OsgiInjectableValues extends com.fasterxml.jackson.databind.InjectableValues
Injects OSGI services in deserialized objects
Use theJacksonInject
in the constructor parameters or the class members ask for injecting a matching OSGI services. Use theJacksonInject.value()
to specify an OSGI filter to select more accurately the OSGI services. Null is injected when no matching OSGI service is registered.
-
-
Constructor Summary
Constructors Constructor Description OsgiInjectableValues(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
findInjectableValue(Object valueId, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty forProperty, Object beanInstance)
-