I have a custom startup class which is supposed to run when we start the server. I have a message in the class which should print just before "Started in 29s:750ms (which is the last line when u start the server)".
I can handle this with Mbean and jboss-service.xml. But I have some dependency classes in ear file which talks to this startup class.
So, the issue is - is it possible to put the startup class in EAR and configure somewhere so that my message gets printed when I just start the server.