Author: pete.muir(a)jboss.org
Date: 2010-02-16 07:51:25 -0500 (Tue, 16 Feb 2010)
New Revision: 5844
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/jsf/JsfApiAbstraction.java
Log:
Add behavior class
Modified: core/trunk/impl/src/main/java/org/jboss/weld/jsf/JsfApiAbstraction.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/jsf/JsfApiAbstraction.java 2010-02-16
12:51:01 UTC (rev 5843)
+++ core/trunk/impl/src/main/java/org/jboss/weld/jsf/JsfApiAbstraction.java 2010-02-16
12:51:25 UTC (rev 5844)
@@ -36,6 +36,8 @@
// JSF FacesContext
public final Class<?> FACES_CONTEXT;
+ public final Class<?> BEHAVIOR_CLASS;
+
public final double MINIMUM_API_VERSION;
public JsfApiAbstraction(ResourceLoader resourceLoader)
@@ -43,6 +45,7 @@
super(resourceLoader);
this.UICOMPONENT_CLASS =
classForName("javax.faces.component.UIComponent");
this.FACES_CONTEXT = classForName("javax.faces.context.FacesContext");
+ this.BEHAVIOR_CLASS =
classForName("javax.faces.component.behavior.Behavior");
double version = 2.0;
if (this.FACES_CONTEXT != null)
{
Show replies by date