I have a question with respect to Liferay Startup Events.
In Liferay documentation it is given:
Startup Events
Input a list of comma delimited class names that extend
com.liferay.portal.struts.SimpleAction
. These classes will run at the specified event.
Could anybody please tell me what is the difference between global.startup.events
and application.startup.events
and could any body tell me in what case do we need to override them?
And should both these start up events extend com.liferay.portal.struts.SimpleAction
?? and I couldn't find anything inside the SimpleAction
except this:
public abstract class SimpleAction {
public abstract void run(String[] ids) throws ActionException;
}
}
I also wanted to know this class contains nothing, how does Liferay knows what XML files to read and process?
Thanks