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

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| object | any | Yes | object to get bundle info for it |  |

# Examples

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







# Categories

[Java](../../categories/java.md), [Lucee Server related Tags, Functions and Guides](../../categories/server.md)