Caching of Instance is not the only problem. javax.enterprise.inject.spi.CDIProvider has to cache javax.enterprise.inject.spi.CDI instances as well. Currently, only WildFly implementation does cache CDI instances. However, once WELD-1890 is resolved, Weld SE should support most common scenarios as well (problems may occur if running multiple containers).
|