This content has been marked as final.
Show 2 replies
-
1. Re: How to load a class during server startup in JBOSS AS 7.1.1
jaikiran Mar 11, 2013 5:50 AM (in response to sunildshpnd)What exactly do you mean by loading classes?
-
2. Re: How to load a class during server startup in JBOSS AS 7.1.1
sfcoy Mar 11, 2013 9:30 AM (in response to sunildshpnd)JBoss AS 7.x does not have the explicit capability of defining startup and shutdown classes like WebLogic.
However, you could mimic the behavior by wrapping them in a subsystem as described in Extending JBoss AS 7.
Alternatively, if you describe what you're doing in your startup classes we may be able to suggest a JEE6 conformant way of doing the same thing, such as using @Startup on a @Singleton bean.