We have a very odd need to detect - at runtime - if a JAR has been deployed in a JBoss
instance, so that we can do some special handling. Don't ask.
However - does anyone know "the best" method do detect if a JAR has been
loaded?
I've tried several methods - and checking for
<jboss-install>/server/default/lib/ works but it can't be the best way. It feels
like a total kludge.
The need, coded, will look something like:
if (jarHasBeenLoaded) doSomethingSpecial();
So - all you hotshot Java folks out there! Any advice? [[be nice]]
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095772#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...