StoreSelectorAspectContentStore

cancel
Showing results for 
Search instead for 
Did you mean: 
ALfreSara
Active Member

StoreSelectorAspectContentStore

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
kaynezhang
Advanced

Re: StoreSelectorAspectContentStore

You can write a  custom content store implementation that inherit from StoreSelectorAspectContentStore and register you implementation in spring configuration extension.

ALfreSara
Active Member

Re: StoreSelectorAspectContentStore

how can you check if this class works in the application??

kaynezhang
Advanced

Re: StoreSelectorAspectContentStore

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

ALfreSara
Active Member

Re: StoreSelectorAspectContentStore

.

ALfreSara
Active Member

Re: StoreSelectorAspectContentStore

Hello

please can you explain to me how to register my implementation in spring configuration extension?

kaynezhang
Advanced

Re: StoreSelectorAspectContentStore

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