javax.faces.bean 패키지에서 더 이상 사용되지 않는 어노테이션 및 인터페이스 사용 안함

이 규칙은 javax.faces.bean 패키지에서 더 이상 사용되지 않는 인터페이스 및 어노테이션의 사용에 플래그를 지정합니다. 다음과 같은 인터페이스 및 어노테이션이 다양한 패키지의 인터페이스 및 어노테이션으로 대체되었습니다.

더 이상 사용되지 않는 클래스

JavaEE8 클래스

javax.faces.bean.ApplicationScoped

javax.enterprise.context.ApplicationScoped

javax.faces.bean.CustomScoped

javax.enterprise.context.spi.Context

javax.faces.bean.ManagedProperty

javax.faces.annotation.ManagedProperty

javax.faces.bean.NoneScoped

javax.enterprise.context.Dependent

javax.faces.bean.RequestScoped

javax.enterprise.context.RequestScoped

javax.faces.bean.SessionScoped

javax.enterprise.context.SessionScoped

javax.faces.bean.ViewScoped

javax.faces.view.ViewScoped

javax.faces.bean.ManagedBean 일반적으로 관리 Bean 스펙, 특히 CDI 스펙의 종속성 인젝션, 범위 및 이름 지정으로 대체되었습니다. 애플리케이션 범위 Bean에 대한 eager 속성은 다음을 관찰하여 특별히 대체됩니다. javax.enterprise.context.Initialized 이벤트 javax.enterprise.context.ApplicationScoped .

다음에 대한 직접적인 대체가 없습니다. javax.faces.bean.ReferencedBean faces-config.xml 에서 XML 변형을 사용하지 않음