[jboss-user] [Installation, Configuration & DEPLOYMENT] - Detect if JAR has loaded at runtime
CasaDelNorte
do-not-reply at jboss.com
Tue Oct 16 15:24:24 EDT 2007
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#4095772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095772
More information about the jboss-user
mailing list