org.jboss.weld.jsf
Class JsfApiAbstraction

java.lang.Object
  extended by org.jboss.weld.util.ApiAbstraction
      extended by org.jboss.weld.jsf.JsfApiAbstraction
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service

public class JsfApiAbstraction
extends ApiAbstraction
implements org.jboss.weld.bootstrap.api.Service

Utility class for JSF related components, concepts etc. It can also report on the compatibility of the current JSF implementation being used.

Author:
Pete Muir, Dan Allen

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.weld.util.ApiAbstraction
ApiAbstraction.Dummy, ApiAbstraction.DummyAnnotation, ApiAbstraction.DummyEnum
 
Field Summary
 java.lang.Class<?> FACES_CONTEXT
           
 double MINIMUM_API_VERSION
           
 java.lang.Class<?> UICOMPONENT_CLASS
           
 
Constructor Summary
JsfApiAbstraction(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
           
 
Method Summary
 void cleanup()
           
 boolean isApiVersionCompatibleWith(double version)
           
 
Methods inherited from class org.jboss.weld.util.ApiAbstraction
annotationTypeForName, classForName, enumValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UICOMPONENT_CLASS

public final java.lang.Class<?> UICOMPONENT_CLASS

FACES_CONTEXT

public final java.lang.Class<?> FACES_CONTEXT

MINIMUM_API_VERSION

public final double MINIMUM_API_VERSION
Constructor Detail

JsfApiAbstraction

public JsfApiAbstraction(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
Method Detail

isApiVersionCompatibleWith

public boolean isApiVersionCompatibleWith(double version)

cleanup

public void cleanup()
Specified by:
cleanup in interface org.jboss.weld.bootstrap.api.Service


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