final Map<Method, InterceptorFactory> clientInterceptorFactories = ViewService.this.clientInterceptorFactories;
final Map<Method, Interceptor> clientEntryPoints = new IdentityHashMap<Method, Interceptor>(clientInterceptorFactories.size());
for (Method method : clientInterceptorFactories.keySet()) {
clientEntryPoints.put(method, clientInterceptorFactories.get(method).create(factoryContext));
}
final Interceptor postConstructInterceptor = clientPostConstruct.create(factoryContext);
try {
Object object = proxyFactory.newInstance(new ProxyInvocationHandler(clientEntryPoints, component, View.this, this));
InterceptorContext interceptorContext = new InterceptorContext();
interceptorContext.putPrivateData(ComponentView.class, View.this);
interceptorContext.putPrivateData(ComponentViewInstance.class, this);
interceptorContext.putPrivateData(Component.class, component);
try {
postConstructInterceptor.processInvocation(interceptorContext);
} catch (Exception e) {
InstantiationException exception = new InstantiationException("Post-construct lifecycle failed");
exception.initCause(e);
throw exception;
}