Thanks Jeremias. I considered that although initially discounted it because I didn't want to change my own code too much to cater for different environments (being in an OSGi container versus just running in a 'vanilla' class loading context). I didn't go back to it, but it's definitely another option.
Dan

