tornadofx / tornadofx.osgi.impl

Package tornadofx.osgi.impl

Types

InterceptorListener class InterceptorListener : ServiceListener

Extensions for External Classes

org.osgi.framework.ServiceEvent
org.osgi.util.tracker.ServiceTracker

Properties

fxBundle val fxBundle: Bundle
fxBundleContext val fxBundleContext: BundleContext

Functions

getBundleId fun getBundleId(classFromBundle: KClass<*>): Long?

Try to resolve the OSGi Bundle Id of the given class. This function can only be called if OSGi is available on the classpath.

fun <T> getBundleId(): Long?