Hello,
I am new to alfresco,
how can i customize StoreSelectorAspectContentStore instead of changing directly in the org.alfresco.company.repo.content.roting.StoreSelectorAspectContentStore?
You can write a custom content store implementation that inherit from StoreSelectorAspectContentStore and register you implementation in spring configuration extension.
how can you check if this class works in the application??
I'm sorry I don't understand what you mean ,If it is correctly implemented it will work.
About how to create a customized content store, you can refer to following thread
https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-create-new-content-store/td-p/264...
.
Hello
please can you explain to me how to register my implementation in spring configuration extension?
You can define a bean named fileContentStore in your spring context file ,alfresco will use your fileContentStore implementation to override it's default.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.