Skip to content

Commit

Permalink
Add behavior class
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Feb 16, 2010
1 parent f770fe5 commit 9d4e3c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions impl/src/main/java/org/jboss/weld/jsf/JsfApiAbstraction.java
Expand Up @@ -36,13 +36,16 @@ public class JsfApiAbstraction extends ApiAbstraction implements Service
// JSF FacesContext
public final Class<?> FACES_CONTEXT;

public final Class<?> BEHAVIOR_CLASS;

public final double MINIMUM_API_VERSION;

public JsfApiAbstraction(ResourceLoader resourceLoader)
{
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)
{
Expand Down

0 comments on commit 9d4e3c0

Please sign in to comment.