I will override the creation of tenant so that each creation tenant re-exeucte all the patches on this tenant without losing the information of the other tenants .
If you are planning this for your client and thinking to keep it in future then do not use tenant because from version 6 it is being removed.
For the versions before 6 you may use.
I'm using the multi tenant just for a student project and I'm on version 5 and I do not need a version 6 what you have an idea commits to re-run the patch with each creation of a tenant ?
I am hopping you are using post webscript to create tenant, if yes then you just need to override org.alfresco.repo.web.scripts.tenant.TenantPost class in order to execute your logic around tenant creation.
EnProwess : Portal | Liferay | ECM | Alfresco | Mobile
Here is the bean definition of that class:
<bean class="org.alfresco.repo.web.scripts.tenant.TenantPost" id="webscript.org.alfresco.repository.tenant.tenants.post" parent="abstractTenantAdminWebScript"> </bean>
I am already on this point but I am blocked because I do not know how to apply the execution of the patches after override creation tenant? how to invoke patches on a tenant? how to cause the re-execution of the patches?
Retrieving data ...