/** * In some JEE environment like Google's App Engine (GAE) it is not allowed * to use multi threading. But you can also disable multi threading by * setting the system property {@link #DISABLE_THREADS}. * * @return normally true */ public static boolean areThreadsAllowed() { if (isGoogleAppEngine() || isPropertyEnabled(DISABLE_THREADS)) { return false; } return true; }