org.jboss.errai.config.rebind
Class EnvUtil
java.lang.Object
org.jboss.errai.config.rebind.EnvUtil
public abstract class EnvUtil
- extends Object
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_ERRAI_SERIALIZABLE_TYPE
public static final String CONFIG_ERRAI_SERIALIZABLE_TYPE
- See Also:
- Constant Field Values
CONFIG_ERRAI_NONSERIALIZABLE_TYPE
public static final String CONFIG_ERRAI_NONSERIALIZABLE_TYPE
- See Also:
- Constant Field Values
CONFIG_ERRAI_MAPPING_ALIASES
public static final String CONFIG_ERRAI_MAPPING_ALIASES
- See Also:
- Constant Field Values
SYSPROP_USE_REACHABILITY_ANALYSIS
public static final String SYSPROP_USE_REACHABILITY_ANALYSIS
- See Also:
- Constant Field Values
EnvUtil
public EnvUtil()
isJUnitTest
public static boolean isJUnitTest()
isDevMode
public static boolean isDevMode()
isProdMode
public static boolean isProdMode()
recordEnvironmentState
public static void recordEnvironmentState()
getErraiAppProperties
public static Collection<URL> getErraiAppProperties()
clearCache
public static void clearCache()
getEnvironmentConfig
public static EnvironmentConfig getEnvironmentConfig()
- Returns:
- an instance of
EnvironmentConfig
. Do NOT retain a reference to this value. Call every time
you need additional configuration information.
isPortableType
public static boolean isPortableType(Class<?> cls)
isLocalEventType
public static boolean isLocalEventType(Class<?> cls)
getAllPortableConcreteSubtypes
public static Set<Class<?>> getAllPortableConcreteSubtypes(Class<?> clazz)
getAllPortableSubtypes
public static Set<Class<?>> getAllPortableSubtypes(Class<?> clazz)
getAllReachableClasses
public static ReachableTypes getAllReachableClasses(com.google.gwt.core.ext.GeneratorContext context)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.