Thank you, it actually loads the specified provider.. but it seems, that is
still not used by magnolia.
I provided a providerClass, which looks like the following
[code]class JacksonConfig implements ContextResolver<ObjectMapper>,
EndpointDefinitionProvider {
...
}[/code]
Additionally I tried a similar approach with MessageBodyWriter, but i doubt
that is useable for json serialization, but anyway .. it looks like:
[code]class AttributeMessageBodyWriter implements MessageBodyWriter<Attribute>,
EndpointDefinitionProvider {
}
[/code]
Should it be ConfiguredEndpointProvider ?
I print a debug message within the constructor, but I cant see the message in
logs.
Is there also a example of code, showing how to implement the custom provider
within an magnolia module
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=84c139f8-491e-41ee-bce1-27f44acef874
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------