// delegates all public methods to the dyanamic proxy, which calls the
// InvocationHandler.
gen.generateOptionalLocalInterfaceSubClass(
targetObjectClass, beanSubClassName, subClassIntf);
Class subClass = gen.loadClass(beanSubClassName);
// TODO do interceptor builder once per managed bean
InterceptorManager interceptorManager = new InterceptorManager(_logger,
targetObjectClass.getClassLoader(), targetObjectClass.getName(),