org.jboss.seam.faces.projectstage
Class ProjectStageExtension

java.lang.Object
  extended by org.jboss.seam.faces.projectstage.ProjectStageExtension
All Implemented Interfaces:
javax.enterprise.inject.spi.Extension

public class ProjectStageExtension
extends Object
implements javax.enterprise.inject.spi.Extension

Extension that supports to veto beans that should only be active in certain JSF project stages.

Author:
Christian Kaltepoth

Constructor Summary
ProjectStageExtension()
           
 
Method Summary
<T> void
processAnnotatedType(javax.enterprise.inject.spi.ProcessAnnotatedType<T> pat)
          Observes ProcessAnnotatedType events and sends a veto if the type should be ignored due to the current project stage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectStageExtension

public ProjectStageExtension()
Method Detail

processAnnotatedType

public <T> void processAnnotatedType(@Observes
                                     javax.enterprise.inject.spi.ProcessAnnotatedType<T> pat)
Observes ProcessAnnotatedType events and sends a veto if the type should be ignored due to the current project stage.



Copyright © 2009-2011 Seam Framework. All Rights Reserved.