if (ns != null) {
final String callbackFunction = callbackFunctionName(callback, ns);
final Var var = RT.var(ns, callbackFunction);
if (var.isBound()) {
try {
ClojureOSGi.withBundle(bundle, new RunnableWithException() {
public Object run() throws Exception {
if (log != null)
log.log(LogService.LOG_DEBUG,
String.format(
"invoking function %s/%s for bundle: %s",