@Override
public T create(CreationalContext<T> creationalContext) {
if (Reflections.isFinal(rawType) || Serializable.class.isAssignableFrom(rawType)) {
return createUnderlying(creationalContext);
} else {
BeanInstance proxyBeanInstance = new EnterpriseTargetBeanInstance(getTypes(), new CallableMethodHandler(new EEResourceCallable<T>(getBeanManager(), this, creationalContext)));
return proxyFactory.create(proxyBeanInstance);
}
}