OSGI in javaSettings

I was wondering how I can use an OSGI package without having to deploy it
to lucee/bundles?

createObject(‘java’,'class,‘id’,‘version’) constructor doesn’t seem to look
at what the Application JavaSettings provides.