org.apache.myfaces.util
Class ExternalSpecifications

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

public final class ExternalSpecifications
extends 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: 963000 $ $Date: 2010-07-11 01:54:18 -0500 (Sun, 11 Jul 2010) $
Author:
Jan-Kees van Andel, Jakob Korherr (latest modification by $Author: lu4242 $)

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.

Returns:
true if Bean Validation is available, false otherwise.

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.

Returns:
true if UEL is available, false otherwise.


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