Jsf JoinFaces@Configurable不注入服务

Jsf JoinFaces@Configurable不注入服务,jsf,primefaces,joinfaces,Jsf,Primefaces,Joinfaces,我正在将一个旧的JSF应用程序迁移到新版本。 我对Primefaces的懒散数据模型有问题 @Configurable public class PerfilSeleccionLazyDataModel extends LazyDataModel<Perfil> { @Autowired private transient PerfilService perfilService; @可配置 公共类PerfilSeleccionLazyDataModel扩展了

我正在将一个旧的JSF应用程序迁移到新版本。 我对Primefaces的懒散数据模型有问题


@Configurable
public class PerfilSeleccionLazyDataModel extends LazyDataModel<Perfil> {

    @Autowired
    private transient PerfilService perfilService;


@可配置
公共类PerfilSeleccionLazyDataModel扩展了LazyDataModel{
@自动连线
专用瞬态性能服务性能服务;
现在,这些类不注入服务,并且为null

我的新项目是SpringBoot、JoinFaces4和Spring5


有人能告诉我应该使用什么新策略,或者我是否应该添加一些额外的确认,以便更好地注入我的服务吗?

我使用的是JoinFaces,下面是我的LazyDatatable的外观。在bean上使用JSF ViewScope,并使用普通的Inject注入您想要的bean

import javax.faces.view.ViewScoped;
导入javax.inject.inject;
导入javax.inject.Named;
@命名
@视域
公共类PerfilDatatable扩展了LazyDataModel{
@注入
专用瞬态性能服务性能服务;
JoinFaces配置:

连接面:
jsf:
项目阶段:开发
状态保存方法:服务器
facelets刷新周期:-1
facelets跳过注释:true
将提交的空字符串值解释为null:true
datetimeconverter默认时区为系统时区:true
素面:
主题:巴比伦蓝灰色口音
字体:真的
转换元数据:true
将脚本移到底部:true
提交:部分
全方位:
组合资源处理程序缓存ttl:3628800
组合资源处理程序已禁用:true
我的脸:
支持托管bean:false
已启用早期刷新:true
检查id生产模式:false

它仍然是空的,它在.yml文件中有一些配置,或者JSF/JoinFaces的一些bean。谢谢。我添加了我的JoinFaces YAML配置。注意,我正在为JoinFaces使用CDI和Myfaces启动器。