1
下面有一個註釋爲@SystemSetup的方法,但如何觸發此方法?如何在Hybris中觸發註釋@SystemSetup?
@SystemSetup(extension = IwacockpitsConstants.EXTENSIONNAME)
public class IwaCockpitsSystemSetup{
@SystemSetup(type = SystemSetup.Type.ALL, process = SystemSetup.Process.ALL)
public void createCsCockpitUsers(){}
}
此外,還有一個官方評論:
/**
* This class is called during IwaCockpits system setup, either selecting essential or project data.
*
* The main method of this class ({@link #createCsCockpitUsers()} is responsible for creating all the IWA CSCockpit
* custom groups and their restrictions.
*/
您的回答非常詳細,我接受了,謝謝!你能幫我解決另一個問題嗎? [啓動服務器時發生Hybris錯誤](http://stackoverflow.com/questions/42470529/hybris-error-occurred-while-starting-server) – licaomeng