}
public <T> T initProxy(T proxy, CreationalContextImpl<T> env)
{
if (proxy instanceof CandiEnhancedBean) {
CandiEnhancedBean bean = (CandiEnhancedBean) proxy;
try {
if (_delegates == null)
_delegates = createDelegates(env);
_interceptors = bean.__caucho_inject(_delegates, _interceptors, env);
/*
} catch (Exception e) {
log.log(Level.WARNING, e.toString(), e);
}
try {
*/
bean.__caucho_postConstruct();
} catch (RuntimeException e) {
throw e;
} catch (InvocationTargetException e) {
throw new EJBExceptionWrapper(e.getCause());
} catch (Exception e) {