The use of newInstance should be avoided in OSGi. The ones in the Java API can be made to work, but it makes the bundle a bit questionable.