Class<? extends Provider> instanceProviderClass = null;
String proxyMappingConfigKey = OpenWebBeansConfiguration.PROXY_MAPPING_PREFIX + scopeClassName;
String className = webBeansContext.getOpenWebBeansConfiguration().getProperty(proxyMappingConfigKey);
if (className == null || NormalScopedBeanInterceptorHandler.class.getName().equals(className))
{
return new NormalScopedBeanInterceptorHandler(webBeansContext.getBeanManagerImpl(), bean);
}
try
{
instanceProviderClass = (Class<? extends Provider>) Class.forName(className, true, classLoader);