1 Reply Latest reply on Apr 14, 2009 12:30 PM by Peter Johnson

    scanning of server/xxx/deploy

    Andre Ehrlich Newbie

      Hi folks!

      My current task requires some really ugly classpath scanning. We have an interface called "Job" which may be implemented several times. Every implementation is packaged in a JAR under "deploy". A simple stateless Session Bean scans all available JARs and registers all Jobs in the database. To do the scanning itself, we are using a google framework called "reflections".

      My question: how do I get a URL of the "server/xxx/deploy" directory within JBoss? We want to avoid hardcoding the path as this would require permanent code changes.