cancel
Showing results for 
Search instead for 
Did you mean: 

StoreSelectorAspectContentStore

ALfreSara
Confirmed Champ
Confirmed Champ

Hello,

I am new to alfresco,

how can i customize StoreSelectorAspectContentStore instead of changing directly in the org.alfresco.company.repo.content.roting.StoreSelectorAspectContentStore?

6 REPLIES 6

kaynezhang
World-Class Innovator
World-Class Innovator

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??

kaynezhang
World-Class Innovator
World-Class Innovator

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?

kaynezhang
World-Class Innovator
World-Class Innovator

You can define a bean named fileContentStore in your spring context file ,alfresco will use your fileContentStore implementation to override it's default.