org.jboss.seam.faces.context
Class FacesAnnotationsAdapterExtension
java.lang.Object
org.jboss.seam.faces.context.FacesAnnotationsAdapterExtension
- All Implemented Interfaces:
- Extension
public class FacesAnnotationsAdapterExtension
- extends Object
- implements Extension
Alias the JSF scope annotations to the CDI scope annotations. If a JSF scope annotation is detected, advise the developer to
update the code to use the equivalent CDI scope annotation. Forbid the developer from using the JSF managed bean annotation.
- Author:
- Dan Allen, Brian Leathem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesAnnotationsAdapterExtension
public FacesAnnotationsAdapterExtension()
getAliasedbeans
public static Map<Class<?>,Class<? extends Annotation>> getAliasedbeans()
aliasJsfScopeIfDetected
public void aliasJsfScopeIfDetected(@Observes
ProcessAnnotatedType<Object> annotatedType)
failIfJsfManagedBeanAnnotationPresent
public void failIfJsfManagedBeanAnnotationPresent(@Observes
ProcessBean<?> bean)
Copyright © 2009-2011 Seam Framework. All Rights Reserved.