HHH-15084 Remove use of BeanManager.createInjectionTarget(AnnotatedType)
This commit is contained in:
parent
60283ce9ea
commit
c2bc5991db
|
@ -113,7 +113,7 @@ public class JpaCompliantLifecycleStrategy implements BeanLifecycleStrategy {
|
|||
}
|
||||
|
||||
try {
|
||||
this.injectionTarget = beanManager.createInjectionTarget( annotatedType );
|
||||
this.injectionTarget = beanManager.getInjectionTargetFactory( annotatedType ).createInjectionTarget( (Bean) null );
|
||||
this.creationalContext = beanManager.createCreationalContext( null );
|
||||
|
||||
this.beanInstance = this.injectionTarget.produce( creationalContext );
|
||||
|
|
Loading…
Reference in New Issue