I want to add a ContentTransformer to alfresco, and I found there is a file content-services-context.xml which has many contentTransformer bean, But I found through the whole project source code, I cann't find the source code which load these beans, I want to do this because there is a preview bug in alfresco, I need to fix it.
Can someone tell me how alfresco load these ContentTransformers ? Where ?
The beans are instantiated by Spring and then the content transformers register themselves with the contentTransformerRegistry.
There's a Java abstract base class with a matching spring configuration called "baseContentTransformer" which will do this for you or you can write your own method to call the "register" method.