} else {
jndiContainer = ref.getBundleDescriptor();
}
}
ResourceContainerContextImpl newContext = new ResourceContainerContextImpl(jndiContainer);
ProcessingContext ctx = annInfo.getProcessingContext();
ctx.pushHandler(newContext);
// process the classes
annInfo.getProcessingContext().getProcessor().process(
annInfo.getProcessingContext(),
handlerClasses.toArray(new Class[0]));
ctx.popHandler();
}
} catch(Throwable t) {
throw new AnnotationProcessorException(t.getMessage(), annInfo);
}
return HandlerProcessingResultImpl.getDefaultResult(getAnnotationType(), ResultType.PROCESSED);