org.apache.myfaces.util
Class ExternalSpecifications

java.lang.Object
  extended by org.apache.myfaces.util.ExternalSpecifications

public class ExternalSpecifications
extends java.lang.Object

Utility class for determining which specifications are available in the current process. See JIRA issue: http://issues.apache.org/jira/browse/MYFACES-2386

Since:
2.0
Author:
Jan-Kees van Andel, Jakob Korherr

Field Summary
static boolean isBeanValidationAvailable
          This boolean indicates if Bean Validation is present.
static boolean isUnifiedELAvailable
          This boolean indicates if Unified EL is present.
 
Constructor Summary
ExternalSpecifications()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isBeanValidationAvailable

public static final boolean isBeanValidationAvailable
This boolean indicates if Bean Validation is present. Eager initialization is used for performance. This means Bean Validation binaries should not be added at runtime after this variable has been set.


isUnifiedELAvailable

public static final boolean isUnifiedELAvailable
This boolean indicates if Unified EL is present. Eager initialization is used for performance. This means Unified EL binaries should not be added at runtime after this variable has been set.

Constructor Detail

ExternalSpecifications

public ExternalSpecifications()


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.