BundleInfo

if the given object is loaded by an OSGi bundle, this function is returning information about that bundle

Introduced: 5.0.0.0

BundleInfo( object )

Returns: Struct

Argument Description
object
any, required

object to get bundle info for it

Examples

bundle = createObject('java', 'org.joda.time.format.DateTimeFormat', 'org-joda-time', '2.1.0');
dump(bundleinfo(bundle)); // version 2.1.0

See also