org.apache.myfaces.util
Class ExternalSpecifications

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

public final 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
Version:
$Revision$ $Date$
Author:
Jan-Kees van Andel, Jakob Korherr (latest modification by $Author$)

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

Method Detail

isBeanValidationAvailable

public static boolean isBeanValidationAvailable()
This method determines 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 boolean isUnifiedELAvailable()
This method determines 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.



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