BundleInfo()

edit

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=any );

Returns: Struct

Argument Description
object
any, required
edit

object to get bundle info for it

Examples

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

See also